{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "Using TensorFlow backend.\n"
     ]
    }
   ],
   "source": [
    "# import modules\n",
    "import pandas\n",
    "from sklearn import svm\n",
    "import tensorflow as tf\n",
    "import numpy as np\n",
    "from sklearn.decomposition import PCA\n",
    "from pylab import *\n",
    "import struct\n",
    "import keras as ks\n",
    "import logging\n",
    "from keras.layers import Dense, Activation, Flatten, Convolution2D\n",
    "from keras.utils import np_utils\n",
    "from keras.models import model_from_json\n",
    "from keras import backend as K\n",
    "\n",
    "from sklearn.neighbors import KNeighborsClassifier\n",
    "from sklearn.tree import DecisionTreeClassifier\n",
    "from sklearn.ensemble import RandomForestClassifier, AdaBoostClassifier\n",
    "\n",
    "import matplotlib.pyplot as plt\n",
    "from skimage import io\n",
    "import numpy as np\n",
    "from PIL import Image \n",
    "from scipy import misc\n",
    "import os\n",
    "import matplotlib.pyplot as plt\n",
    "from sklearn.metrics import classification_report\n",
    "# ..."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 数据读取和预处理\n",
    "label 3个 => 4个\n",
    "- normal: 2462\n",
    "- cpu   : 373\n",
    "- mem   : 266\n",
    "- io    : 592"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2462\n",
      "373\n",
      "266\n",
      "592\n",
      "(3693,)\n"
     ]
    }
   ],
   "source": [
    "# 3888 * 51 with 4 labels\n",
    "data_raw = pandas.read_csv(\"data/host10280-labeled-2.csv\")\n",
    "data = np.array(data_raw)\n",
    "data_raw = pandas.read_csv(\"data/host10274-labeled-2.csv\")\n",
    "data = np.concatenate((data,np.array(data_raw)),axis=0)\n",
    "data_raw = pandas.read_csv(\"data/host10283-labeled-2.csv\")\n",
    "data = np.concatenate((data,np.array(data_raw)),axis=0)\n",
    "\n",
    "# 50 = 2 ids + 45 features + 3 labels\n",
    "# ids: host + clock\n",
    "# labels: normal, cpu, mem, io\n",
    "data_features = data[:,2:47]\n",
    "data_labels = data[:,46:50]\n",
    "\n",
    "len(data_labels)\n",
    "for i in range(len(data_labels)):\n",
    "    item = data_labels[i]\n",
    "    if item[1] == 0 and item[2] == 0 and item[3] == 0:\n",
    "        data_labels[i][0] = 1\n",
    "    else:\n",
    "        data_labels[i][0] = 0\n",
    "\n",
    "data_class = [] # 0 ~ 3\n",
    "for label in data_labels:\n",
    "    data_class.append(np.dot([0,1,2,3],label))\n",
    "data_class = np.array(data_class,dtype=\"int\")\n",
    "\n",
    "print(sum(data_class == 0))\n",
    "print(sum(data_class == 1))\n",
    "print(sum(data_class == 2))\n",
    "print(sum(data_class == 3))\n",
    "print(data_class.shape)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "# 1231 abnormal\n",
    "num_sample = sum(data_class != 0)\n",
    "# select 1231 normal samples randomly\n",
    "data_tmp = data_features[data_class == 0]\n",
    "index_tmp = np.arange(0,data_tmp.shape[0],data_tmp.shape[0]/num_sample)[0:num_sample]\n",
    "data_normal_tmp = data_tmp[index_tmp]\n",
    "\n",
    "data_features = np.concatenate((data_normal_tmp,                 data_features[data_class != 0]),axis=0)\n",
    "data_labels   = np.concatenate((np.array([[1,0,0,0]]*num_sample),data_labels[data_class != 0]),  axis=0)\n",
    "data_class    = np.concatenate((np.array([0]*num_sample),        data_class[data_class != 0]),   axis=0)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 划分训练集和验证集\n",
    "- 训练集: 80%\n",
    "- 验证集: 20%"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(1969, 45)\n",
      "(1969, 4)\n",
      "(1969,)\n",
      "(493, 45)\n",
      "(493, 4)\n",
      "(493,)\n"
     ]
    }
   ],
   "source": [
    "# feature scaling\n",
    "for i in range(data_features.shape[1]):\n",
    "    d_min = data_features[:,i].min()\n",
    "    d_max = data_features[:,i].max()\n",
    "    if d_min == d_max:\n",
    "        data_features[:,i] = 1\n",
    "        continue\n",
    "    data_features[:,i] -= d_min\n",
    "    data_features[:,i] /= (d_max - d_min)\n",
    "\n",
    "num_tosample = len(data_class)\n",
    "index_test = np.arange(0,num_tosample,5)\n",
    "index_train = np.array(list(set(np.arange(0,num_tosample,1)) - set(index_test)))\n",
    "\n",
    "data_train = data_features[index_train]\n",
    "labels_train = data_labels[index_train]\n",
    "class_train = data_class[index_train]\n",
    "data_test = data_features[index_test]\n",
    "labels_test = data_labels[index_test]\n",
    "class_test = data_class[index_test]\n",
    "print(data_train.shape)\n",
    "print(labels_train.shape)\n",
    "print(class_train.shape)\n",
    "print(data_test.shape)\n",
    "print(labels_test.shape)\n",
    "print(class_test.shape)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "# save loss and acc\n",
    "class LossHistory(ks.callbacks.Callback):\n",
    "    def on_train_begin(self, logs={}):\n",
    "        self.losses = {'batch':[], 'epoch':[]}\n",
    "        self.accuracy = {'batch':[], 'epoch':[]}\n",
    "        self.val_loss = {'batch':[], 'epoch':[]}\n",
    "        self.val_acc = {'batch':[], 'epoch':[]}\n",
    "\n",
    "    def on_batch_end(self, batch, logs={}):\n",
    "        self.losses['batch'].append(logs.get('loss'))\n",
    "        self.accuracy['batch'].append(logs.get('acc'))\n",
    "        self.val_loss['batch'].append(logs.get('val_loss'))\n",
    "        self.val_acc['batch'].append(logs.get('val_acc'))\n",
    "\n",
    "    def on_epoch_end(self, batch, logs={}):\n",
    "        self.losses['epoch'].append(logs.get('loss'))\n",
    "        self.accuracy['epoch'].append(logs.get('acc'))\n",
    "        self.val_loss['epoch'].append(logs.get('val_loss'))\n",
    "        self.val_acc['epoch'].append(logs.get('val_acc'))\n",
    "\n",
    "    def loss_plot(self, loss_type):\n",
    "        iters = range(len(self.losses[loss_type]))\n",
    "        iindex = np.arange(0,len(self.losses[loss_type]),len(self.losses[loss_type])/200)\n",
    "        iters = np.array(iters)\n",
    "        plt.figure()\n",
    "        # acc\n",
    "        plt.plot(iters[iindex], np.array(self.accuracy[loss_type])[iindex], 'r', label='train acc')\n",
    "        # loss\n",
    "        plt.plot(iters[iindex], np.array(self.losses[loss_type])[iindex], 'g', label='train loss')\n",
    "        if loss_type == 'epoch':\n",
    "            # val_acc\n",
    "            plt.plot(iters[iindex], np.array(self.val_acc[loss_type])[iindex], 'b', label='val acc')\n",
    "            # val_loss\n",
    "            plt.plot(iters[iindex], np.array(self.val_loss[loss_type])[iindex], 'k', label='val loss')\n",
    "        plt.grid(True)\n",
    "        plt.xlabel(loss_type)\n",
    "        plt.ylabel('acc-loss')\n",
    "        ylim(0,1.5)\n",
    "        plt.legend(loc=\"upper right\")\n",
    "        plt.savefig('fig.png')\n",
    "        \n",
    "        plt.show()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 神经网络\n",
    "45 => 128 => 64 => 32 => 16 => 4"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "WARNING:tensorflow:From /Users/lyq/Anaconda/anaconda2/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py:2755: calling reduce_sum (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.\n",
      "Instructions for updating:\n",
      "keep_dims is deprecated, use keepdims instead\n",
      "WARNING:tensorflow:From /Users/lyq/Anaconda/anaconda2/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py:1290: calling reduce_mean (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.\n",
      "Instructions for updating:\n",
      "keep_dims is deprecated, use keepdims instead\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/Users/lyq/Anaconda/anaconda2/lib/python2.7/site-packages/keras/models.py:848: UserWarning: The `nb_epoch` argument in `fit` has been renamed `epochs`.\n",
      "  warnings.warn('The `nb_epoch` argument in `fit` '\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Train on 1969 samples, validate on 493 samples\n",
      "Epoch 1/5000\n",
      "1969/1969 [==============================] - 0s - loss: 1.3174 - acc: 0.4261 - val_loss: 1.1665 - val_acc: 0.6633\n",
      "Epoch 2/5000\n",
      "1969/1969 [==============================] - 0s - loss: 1.0472 - acc: 0.6927 - val_loss: 0.9063 - val_acc: 0.6694\n",
      "Epoch 3/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.7714 - acc: 0.7679 - val_loss: 0.6640 - val_acc: 0.7830\n",
      "Epoch 4/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.6034 - acc: 0.7796 - val_loss: 0.4758 - val_acc: 0.8093\n",
      "Epoch 5/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.4395 - acc: 0.8106 - val_loss: 0.4027 - val_acc: 0.8114\n",
      "Epoch 6/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.3812 - acc: 0.8314 - val_loss: 0.3629 - val_acc: 0.8621\n",
      "Epoch 7/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.3470 - acc: 0.8603 - val_loss: 0.3314 - val_acc: 0.8600\n",
      "Epoch 8/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.3228 - acc: 0.8598 - val_loss: 0.3127 - val_acc: 0.8621\n",
      "Epoch 9/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.3044 - acc: 0.8629 - val_loss: 0.3869 - val_acc: 0.8154\n",
      "Epoch 10/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.3023 - acc: 0.8578 - val_loss: 0.2930 - val_acc: 0.8600\n",
      "Epoch 11/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2940 - acc: 0.8614 - val_loss: 0.2983 - val_acc: 0.8661\n",
      "Epoch 12/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2902 - acc: 0.8608 - val_loss: 0.2975 - val_acc: 0.8276\n",
      "Epoch 13/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2893 - acc: 0.8588 - val_loss: 0.2887 - val_acc: 0.8600\n",
      "Epoch 14/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2875 - acc: 0.8649 - val_loss: 0.2824 - val_acc: 0.8621\n",
      "Epoch 15/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2841 - acc: 0.8619 - val_loss: 0.2870 - val_acc: 0.8600\n",
      "Epoch 16/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2880 - acc: 0.8553 - val_loss: 0.2914 - val_acc: 0.8600\n",
      "Epoch 17/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2832 - acc: 0.8619 - val_loss: 0.2947 - val_acc: 0.8600\n",
      "Epoch 18/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2816 - acc: 0.8624 - val_loss: 0.2772 - val_acc: 0.8621\n",
      "Epoch 19/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2788 - acc: 0.8624 - val_loss: 0.2782 - val_acc: 0.8641\n",
      "Epoch 20/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2784 - acc: 0.8614 - val_loss: 0.2859 - val_acc: 0.8600\n",
      "Epoch 21/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2832 - acc: 0.8573 - val_loss: 0.2995 - val_acc: 0.7992\n",
      "Epoch 22/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2828 - acc: 0.8598 - val_loss: 0.2768 - val_acc: 0.8621\n",
      "Epoch 23/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2763 - acc: 0.8583 - val_loss: 0.2741 - val_acc: 0.8621\n",
      "Epoch 24/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2756 - acc: 0.8639 - val_loss: 0.2750 - val_acc: 0.8621\n",
      "Epoch 25/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2780 - acc: 0.8669 - val_loss: 0.2800 - val_acc: 0.8641\n",
      "Epoch 26/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2782 - acc: 0.8654 - val_loss: 0.2720 - val_acc: 0.8621\n",
      "Epoch 27/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2733 - acc: 0.8634 - val_loss: 0.2757 - val_acc: 0.8621\n",
      "Epoch 28/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2733 - acc: 0.8629 - val_loss: 0.2965 - val_acc: 0.8256\n",
      "Epoch 29/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2786 - acc: 0.8563 - val_loss: 0.2723 - val_acc: 0.8600\n",
      "Epoch 30/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2760 - acc: 0.8624 - val_loss: 0.2736 - val_acc: 0.8641\n",
      "Epoch 31/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2737 - acc: 0.8634 - val_loss: 0.2782 - val_acc: 0.8600\n",
      "Epoch 32/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2718 - acc: 0.8608 - val_loss: 0.2715 - val_acc: 0.8621\n",
      "Epoch 33/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2732 - acc: 0.8629 - val_loss: 0.2863 - val_acc: 0.8235\n",
      "Epoch 34/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2736 - acc: 0.8593 - val_loss: 0.2695 - val_acc: 0.8621\n",
      "Epoch 35/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2723 - acc: 0.8624 - val_loss: 0.2696 - val_acc: 0.8621\n",
      "Epoch 36/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2712 - acc: 0.8649 - val_loss: 0.2752 - val_acc: 0.8661\n",
      "Epoch 37/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2711 - acc: 0.8563 - val_loss: 0.2686 - val_acc: 0.8621\n",
      "Epoch 38/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2692 - acc: 0.8624 - val_loss: 0.2744 - val_acc: 0.8905\n",
      "Epoch 39/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2708 - acc: 0.8629 - val_loss: 0.2686 - val_acc: 0.8621\n",
      "Epoch 40/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2679 - acc: 0.8588 - val_loss: 0.2766 - val_acc: 0.8884\n",
      "Epoch 41/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2681 - acc: 0.8669 - val_loss: 0.2686 - val_acc: 0.8621\n",
      "Epoch 42/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2704 - acc: 0.8619 - val_loss: 0.2651 - val_acc: 0.8661\n",
      "Epoch 43/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2680 - acc: 0.8629 - val_loss: 0.2817 - val_acc: 0.8600\n",
      "Epoch 44/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2681 - acc: 0.8598 - val_loss: 0.2685 - val_acc: 0.9026\n",
      "Epoch 45/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2704 - acc: 0.8649 - val_loss: 0.2696 - val_acc: 0.8661\n",
      "Epoch 46/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2669 - acc: 0.8634 - val_loss: 0.2683 - val_acc: 0.8621\n",
      "Epoch 47/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2640 - acc: 0.8659 - val_loss: 0.2618 - val_acc: 0.8621\n",
      "Epoch 48/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2628 - acc: 0.8614 - val_loss: 0.2607 - val_acc: 0.8621\n",
      "Epoch 49/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2638 - acc: 0.8649 - val_loss: 0.2655 - val_acc: 0.9108\n",
      "Epoch 50/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2608 - acc: 0.8695 - val_loss: 0.2636 - val_acc: 0.8864\n",
      "Epoch 51/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2659 - acc: 0.8700 - val_loss: 0.2780 - val_acc: 0.8621\n",
      "Epoch 52/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2641 - acc: 0.8685 - val_loss: 0.2613 - val_acc: 0.8621\n",
      "Epoch 53/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2620 - acc: 0.8598 - val_loss: 0.2591 - val_acc: 0.8702\n",
      "Epoch 54/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2606 - acc: 0.8634 - val_loss: 0.2830 - val_acc: 0.8073\n",
      "Epoch 55/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2628 - acc: 0.8568 - val_loss: 0.2868 - val_acc: 0.8073\n",
      "Epoch 56/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2628 - acc: 0.8756 - val_loss: 0.2669 - val_acc: 0.8742\n",
      "Epoch 57/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2664 - acc: 0.8593 - val_loss: 0.2603 - val_acc: 0.8600\n",
      "Epoch 58/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2596 - acc: 0.8700 - val_loss: 0.2577 - val_acc: 0.8722\n",
      "Epoch 59/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2591 - acc: 0.8680 - val_loss: 0.2680 - val_acc: 0.8276\n",
      "Epoch 60/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2592 - acc: 0.8756 - val_loss: 0.2590 - val_acc: 0.8621\n",
      "Epoch 61/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2571 - acc: 0.8801 - val_loss: 0.2558 - val_acc: 0.8621\n",
      "Epoch 62/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2621 - acc: 0.8659 - val_loss: 0.2552 - val_acc: 0.8621\n",
      "Epoch 63/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2575 - acc: 0.8700 - val_loss: 0.2647 - val_acc: 0.8621\n",
      "Epoch 64/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.2578 - acc: 0.8644 - val_loss: 0.2748 - val_acc: 0.8276\n",
      "Epoch 65/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2639 - acc: 0.8603 - val_loss: 0.2930 - val_acc: 0.8600\n",
      "Epoch 66/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2629 - acc: 0.8705 - val_loss: 0.2563 - val_acc: 0.9128\n",
      "Epoch 67/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2584 - acc: 0.8603 - val_loss: 0.2679 - val_acc: 0.8276\n",
      "Epoch 68/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2568 - acc: 0.8674 - val_loss: 0.2603 - val_acc: 0.8600\n",
      "Epoch 69/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2519 - acc: 0.8812 - val_loss: 0.2528 - val_acc: 0.8742\n",
      "Epoch 70/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2554 - acc: 0.8720 - val_loss: 0.2528 - val_acc: 0.9067\n",
      "Epoch 71/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2535 - acc: 0.8730 - val_loss: 0.2654 - val_acc: 0.8600\n",
      "Epoch 72/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2553 - acc: 0.8715 - val_loss: 0.2511 - val_acc: 0.8702\n",
      "Epoch 73/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2531 - acc: 0.8710 - val_loss: 0.2609 - val_acc: 0.8215\n",
      "Epoch 74/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2582 - acc: 0.8659 - val_loss: 0.2638 - val_acc: 0.8600\n",
      "Epoch 75/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2536 - acc: 0.8654 - val_loss: 0.2627 - val_acc: 0.8600\n",
      "Epoch 76/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2471 - acc: 0.8761 - val_loss: 0.2636 - val_acc: 0.8540\n",
      "Epoch 77/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2509 - acc: 0.8796 - val_loss: 0.2497 - val_acc: 0.8925\n",
      "Epoch 78/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2531 - acc: 0.8751 - val_loss: 0.2637 - val_acc: 0.8702\n",
      "Epoch 79/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2500 - acc: 0.8807 - val_loss: 0.2582 - val_acc: 0.8803\n",
      "Epoch 80/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2542 - acc: 0.8715 - val_loss: 0.2510 - val_acc: 0.8621\n",
      "Epoch 81/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2442 - acc: 0.8888 - val_loss: 0.2996 - val_acc: 0.8134\n",
      "Epoch 82/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2515 - acc: 0.8776 - val_loss: 0.2571 - val_acc: 0.8600\n",
      "Epoch 83/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2459 - acc: 0.8873 - val_loss: 0.2559 - val_acc: 0.8600\n",
      "Epoch 84/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2487 - acc: 0.8807 - val_loss: 0.2395 - val_acc: 0.8661\n",
      "Epoch 85/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2498 - acc: 0.8756 - val_loss: 0.2407 - val_acc: 0.9128\n",
      "Epoch 86/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2542 - acc: 0.8776 - val_loss: 0.3645 - val_acc: 0.8053\n",
      "Epoch 87/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2602 - acc: 0.8629 - val_loss: 0.2429 - val_acc: 0.9229\n",
      "Epoch 88/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2418 - acc: 0.8954 - val_loss: 0.3655 - val_acc: 0.8073\n",
      "Epoch 89/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2538 - acc: 0.8735 - val_loss: 0.2610 - val_acc: 0.8580\n",
      "Epoch 90/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2473 - acc: 0.8746 - val_loss: 0.2350 - val_acc: 0.9047\n",
      "Epoch 91/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2438 - acc: 0.8837 - val_loss: 0.2581 - val_acc: 0.8580\n",
      "Epoch 92/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2322 - acc: 0.8903 - val_loss: 0.3494 - val_acc: 0.8073\n",
      "Epoch 93/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2466 - acc: 0.8867 - val_loss: 0.2573 - val_acc: 0.8560\n",
      "Epoch 94/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2366 - acc: 0.8903 - val_loss: 0.3007 - val_acc: 0.8560\n",
      "Epoch 95/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2382 - acc: 0.8812 - val_loss: 0.2507 - val_acc: 0.8580\n",
      "Epoch 96/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2365 - acc: 0.8893 - val_loss: 0.2366 - val_acc: 0.8986\n",
      "Epoch 97/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2323 - acc: 0.8969 - val_loss: 0.2387 - val_acc: 0.8803\n",
      "Epoch 98/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2282 - acc: 0.8903 - val_loss: 0.2657 - val_acc: 0.8580\n",
      "Epoch 99/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2339 - acc: 0.8878 - val_loss: 0.2355 - val_acc: 0.8742\n",
      "Epoch 100/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2397 - acc: 0.8867 - val_loss: 0.2450 - val_acc: 0.8722\n",
      "Epoch 101/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2480 - acc: 0.8740 - val_loss: 0.2271 - val_acc: 0.9189\n",
      "Epoch 102/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2310 - acc: 0.8954 - val_loss: 0.2301 - val_acc: 0.8925\n",
      "Epoch 103/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2248 - acc: 0.8959 - val_loss: 0.2322 - val_acc: 0.8986\n",
      "Epoch 104/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2269 - acc: 0.8984 - val_loss: 0.2231 - val_acc: 0.9067\n",
      "Epoch 105/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2228 - acc: 0.9010 - val_loss: 0.2379 - val_acc: 0.8600\n",
      "Epoch 106/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2333 - acc: 0.8873 - val_loss: 0.2330 - val_acc: 0.8824\n",
      "Epoch 107/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2317 - acc: 0.8883 - val_loss: 0.2580 - val_acc: 0.8783\n",
      "Epoch 108/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2301 - acc: 0.8944 - val_loss: 0.3020 - val_acc: 0.8134\n",
      "Epoch 109/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2361 - acc: 0.8862 - val_loss: 0.2940 - val_acc: 0.8134\n",
      "Epoch 110/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2364 - acc: 0.8827 - val_loss: 0.2415 - val_acc: 0.8763\n",
      "Epoch 111/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2327 - acc: 0.8801 - val_loss: 0.2243 - val_acc: 0.8884\n",
      "Epoch 112/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2243 - acc: 0.9005 - val_loss: 0.2212 - val_acc: 0.9026\n",
      "Epoch 113/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2309 - acc: 0.8923 - val_loss: 0.4008 - val_acc: 0.8053\n",
      "Epoch 114/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2319 - acc: 0.8903 - val_loss: 0.2638 - val_acc: 0.8641\n",
      "Epoch 115/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2259 - acc: 0.8989 - val_loss: 0.2631 - val_acc: 0.8682\n",
      "Epoch 116/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2176 - acc: 0.9045 - val_loss: 0.2265 - val_acc: 0.8824\n",
      "Epoch 117/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2156 - acc: 0.9010 - val_loss: 0.2155 - val_acc: 0.9148\n",
      "Epoch 118/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2194 - acc: 0.9066 - val_loss: 0.2206 - val_acc: 0.9067\n",
      "Epoch 119/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2272 - acc: 0.8928 - val_loss: 0.2568 - val_acc: 0.8580\n",
      "Epoch 120/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2283 - acc: 0.8898 - val_loss: 0.2487 - val_acc: 0.8600\n",
      "Epoch 121/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2154 - acc: 0.9020 - val_loss: 0.2540 - val_acc: 0.8641\n",
      "Epoch 122/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2450 - acc: 0.8761 - val_loss: 0.2114 - val_acc: 0.9148\n",
      "Epoch 123/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2258 - acc: 0.8949 - val_loss: 0.2221 - val_acc: 0.8884\n",
      "Epoch 124/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2192 - acc: 0.9025 - val_loss: 0.2382 - val_acc: 0.8621\n",
      "Epoch 125/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2221 - acc: 0.8928 - val_loss: 0.2393 - val_acc: 0.8641\n",
      "Epoch 126/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2166 - acc: 0.8969 - val_loss: 0.2147 - val_acc: 0.9148\n",
      "Epoch 127/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.2233 - acc: 0.8974 - val_loss: 0.2294 - val_acc: 0.8763\n",
      "Epoch 128/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2215 - acc: 0.8913 - val_loss: 0.2071 - val_acc: 0.9209\n",
      "Epoch 129/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2175 - acc: 0.9035 - val_loss: 0.2935 - val_acc: 0.83160.904\n",
      "Epoch 130/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2282 - acc: 0.8923 - val_loss: 0.2057 - val_acc: 0.9209\n",
      "Epoch 131/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2105 - acc: 0.9071 - val_loss: 0.2202 - val_acc: 0.8925\n",
      "Epoch 132/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2072 - acc: 0.9045 - val_loss: 0.2153 - val_acc: 0.9168\n",
      "Epoch 133/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2200 - acc: 0.9010 - val_loss: 0.2133 - val_acc: 0.9006\n",
      "Epoch 134/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2161 - acc: 0.9025 - val_loss: 0.2048 - val_acc: 0.9128\n",
      "Epoch 135/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2058 - acc: 0.9060 - val_loss: 0.2638 - val_acc: 0.8560\n",
      "Epoch 136/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2100 - acc: 0.9025 - val_loss: 0.2444 - val_acc: 0.8641\n",
      "Epoch 137/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2212 - acc: 0.8928 - val_loss: 0.2037 - val_acc: 0.9108\n",
      "Epoch 138/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2031 - acc: 0.9086 - val_loss: 0.2746 - val_acc: 0.8296\n",
      "Epoch 139/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2165 - acc: 0.9015 - val_loss: 0.2327 - val_acc: 0.8742\n",
      "Epoch 140/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2017 - acc: 0.9091 - val_loss: 0.2185 - val_acc: 0.8986\n",
      "Epoch 141/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2213 - acc: 0.8918 - val_loss: 0.2457 - val_acc: 0.8600\n",
      "Epoch 142/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2126 - acc: 0.8984 - val_loss: 0.2274 - val_acc: 0.8864\n",
      "Epoch 143/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2291 - acc: 0.8862 - val_loss: 0.1992 - val_acc: 0.9310\n",
      "Epoch 144/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1981 - acc: 0.9157 - val_loss: 0.2662 - val_acc: 0.8398\n",
      "Epoch 145/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2071 - acc: 0.9030 - val_loss: 0.2350 - val_acc: 0.8945\n",
      "Epoch 146/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1989 - acc: 0.9137 - val_loss: 0.2247 - val_acc: 0.8844\n",
      "Epoch 147/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2125 - acc: 0.8933 - val_loss: 0.2192 - val_acc: 0.9047\n",
      "Epoch 148/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1936 - acc: 0.9167 - val_loss: 0.2325 - val_acc: 0.8742\n",
      "Epoch 149/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2194 - acc: 0.8873 - val_loss: 0.1997 - val_acc: 0.9128\n",
      "Epoch 150/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2026 - acc: 0.9086 - val_loss: 0.1947 - val_acc: 0.9310\n",
      "Epoch 151/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1905 - acc: 0.9208 - val_loss: 0.2833 - val_acc: 0.8580\n",
      "Epoch 152/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2059 - acc: 0.9071 - val_loss: 0.2507 - val_acc: 0.8722\n",
      "Epoch 153/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2004 - acc: 0.9060 - val_loss: 0.2684 - val_acc: 0.8377\n",
      "Epoch 154/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2133 - acc: 0.8969 - val_loss: 0.1969 - val_acc: 0.9128\n",
      "Epoch 155/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1877 - acc: 0.9157 - val_loss: 0.2285 - val_acc: 0.8844\n",
      "Epoch 156/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2010 - acc: 0.8984 - val_loss: 0.2091 - val_acc: 0.8986\n",
      "Epoch 157/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2101 - acc: 0.9010 - val_loss: 0.3827 - val_acc: 0.8134\n",
      "Epoch 158/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2045 - acc: 0.9060 - val_loss: 0.3445 - val_acc: 0.8256\n",
      "Epoch 159/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1914 - acc: 0.9121 - val_loss: 0.2334 - val_acc: 0.9026\n",
      "Epoch 160/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1859 - acc: 0.9162 - val_loss: 0.2638 - val_acc: 0.8499\n",
      "Epoch 161/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2047 - acc: 0.8999 - val_loss: 0.1898 - val_acc: 0.9148\n",
      "Epoch 162/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1884 - acc: 0.9213 - val_loss: 0.1814 - val_acc: 0.9290\n",
      "Epoch 163/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1996 - acc: 0.9086 - val_loss: 0.1796 - val_acc: 0.9249\n",
      "Epoch 164/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1869 - acc: 0.9172 - val_loss: 0.2279 - val_acc: 0.9108\n",
      "Epoch 165/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2006 - acc: 0.9040 - val_loss: 0.1939 - val_acc: 0.9168\n",
      "Epoch 166/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1945 - acc: 0.9106 - val_loss: 0.1958 - val_acc: 0.9087\n",
      "Epoch 167/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1896 - acc: 0.9152 - val_loss: 0.1877 - val_acc: 0.9108\n",
      "Epoch 168/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1883 - acc: 0.9223 - val_loss: 0.1936 - val_acc: 0.9189\n",
      "Epoch 169/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1809 - acc: 0.9223 - val_loss: 0.1772 - val_acc: 0.9209\n",
      "Epoch 170/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1860 - acc: 0.916 - 0s - loss: 0.1836 - acc: 0.9162 - val_loss: 0.2344 - val_acc: 0.8783\n",
      "Epoch 171/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2068 - acc: 0.8979 - val_loss: 0.1998 - val_acc: 0.9026\n",
      "Epoch 172/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.2009 - acc: 0.9045 - val_loss: 0.1914 - val_acc: 0.9108\n",
      "Epoch 173/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1831 - acc: 0.9147 - val_loss: 0.2683 - val_acc: 0.8377\n",
      "Epoch 174/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1803 - acc: 0.9137 - val_loss: 0.2379 - val_acc: 0.8600\n",
      "Epoch 175/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1848 - acc: 0.9126 - val_loss: 0.2067 - val_acc: 0.9026\n",
      "Epoch 176/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1715 - acc: 0.9253 - val_loss: 0.1882 - val_acc: 0.9067\n",
      "Epoch 177/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1811 - acc: 0.9187 - val_loss: 0.2014 - val_acc: 0.8742\n",
      "Epoch 178/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1882 - acc: 0.9040 - val_loss: 0.1946 - val_acc: 0.9006\n",
      "Epoch 179/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1934 - acc: 0.9106 - val_loss: 0.2739 - val_acc: 0.8641\n",
      "Epoch 180/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1965 - acc: 0.9182 - val_loss: 0.1753 - val_acc: 0.9290\n",
      "Epoch 181/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1771 - acc: 0.9198 - val_loss: 0.2498 - val_acc: 0.8641\n",
      "Epoch 182/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1819 - acc: 0.9172 - val_loss: 0.1879 - val_acc: 0.9067\n",
      "Epoch 183/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1801 - acc: 0.9132 - val_loss: 0.1720 - val_acc: 0.9412\n",
      "Epoch 184/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1794 - acc: 0.9218 - val_loss: 0.2316 - val_acc: 0.8844\n",
      "Epoch 185/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1953 - acc: 0.9116 - val_loss: 0.2335 - val_acc: 0.8519\n",
      "Epoch 186/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1938 - acc: 0.9111 - val_loss: 0.1883 - val_acc: 0.9067\n",
      "Epoch 187/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1851 - acc: 0.9142 - val_loss: 0.1898 - val_acc: 0.8864\n",
      "Epoch 188/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1703 - acc: 0.9213 - val_loss: 0.2017 - val_acc: 0.9108\n",
      "Epoch 189/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1734 - acc: 0.9314 - val_loss: 0.1703 - val_acc: 0.9168\n",
      "Epoch 190/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.1891 - acc: 0.9106 - val_loss: 0.2228 - val_acc: 0.8621\n",
      "Epoch 191/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1785 - acc: 0.9126 - val_loss: 0.2179 - val_acc: 0.8864\n",
      "Epoch 192/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1888 - acc: 0.9162 - val_loss: 0.1663 - val_acc: 0.9310\n",
      "Epoch 193/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1613 - acc: 0.9284 - val_loss: 0.1643 - val_acc: 0.9310\n",
      "Epoch 194/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1788 - acc: 0.9192 - val_loss: 0.2005 - val_acc: 0.9006\n",
      "Epoch 195/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1831 - acc: 0.9167 - val_loss: 0.1869 - val_acc: 0.9128\n",
      "Epoch 196/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1720 - acc: 0.9208 - val_loss: 0.2176 - val_acc: 0.8641\n",
      "Epoch 197/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1734 - acc: 0.9121 - val_loss: 0.1608 - val_acc: 0.9270\n",
      "Epoch 198/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1622 - acc: 0.9279 - val_loss: 0.1678 - val_acc: 0.9148\n",
      "Epoch 199/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1679 - acc: 0.9223 - val_loss: 0.2182 - val_acc: 0.8884\n",
      "Epoch 200/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1688 - acc: 0.9192 - val_loss: 0.2829 - val_acc: 0.8945\n",
      "Epoch 201/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1710 - acc: 0.9294 - val_loss: 0.2135 - val_acc: 0.8925\n",
      "Epoch 202/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1809 - acc: 0.9162 - val_loss: 0.1599 - val_acc: 0.9189\n",
      "Epoch 203/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1617 - acc: 0.9279 - val_loss: 0.2225 - val_acc: 0.8864\n",
      "Epoch 204/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1759 - acc: 0.9157 - val_loss: 0.1560 - val_acc: 0.9371\n",
      "Epoch 205/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1670 - acc: 0.9218 - val_loss: 0.1598 - val_acc: 0.9412\n",
      "Epoch 206/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1617 - acc: 0.9264 - val_loss: 0.1683 - val_acc: 0.9168\n",
      "Epoch 207/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1781 - acc: 0.9142 - val_loss: 0.1540 - val_acc: 0.9371\n",
      "Epoch 208/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1656 - acc: 0.9259 - val_loss: 0.1763 - val_acc: 0.9087\n",
      "Epoch 209/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1604 - acc: 0.9279 - val_loss: 0.1635 - val_acc: 0.9168\n",
      "Epoch 210/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1581 - acc: 0.9264 - val_loss: 0.1873 - val_acc: 0.9047\n",
      "Epoch 211/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1682 - acc: 0.9274 - val_loss: 0.1678 - val_acc: 0.9108\n",
      "Epoch 212/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1759 - acc: 0.9116 - val_loss: 0.2512 - val_acc: 0.9026\n",
      "Epoch 213/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1619 - acc: 0.9325 - val_loss: 0.1535 - val_acc: 0.9371\n",
      "Epoch 214/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1520 - acc: 0.9284 - val_loss: 0.1749 - val_acc: 0.9189\n",
      "Epoch 215/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1640 - acc: 0.9279 - val_loss: 0.1852 - val_acc: 0.9148\n",
      "Epoch 216/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1547 - acc: 0.9304 - val_loss: 0.1820 - val_acc: 0.9371\n",
      "Epoch 217/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1796 - acc: 0.9157 - val_loss: 0.1570 - val_acc: 0.9432\n",
      "Epoch 218/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1476 - acc: 0.9360 - val_loss: 0.1723 - val_acc: 0.9209\n",
      "Epoch 219/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1567 - acc: 0.9259 - val_loss: 0.2133 - val_acc: 0.8945\n",
      "Epoch 220/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1633 - acc: 0.9198 - val_loss: 0.1484 - val_acc: 0.9432\n",
      "Epoch 221/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1688 - acc: 0.9213 - val_loss: 0.1731 - val_acc: 0.9189\n",
      "Epoch 222/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1968 - acc: 0.914 - 0s - loss: 0.1498 - acc: 0.9365 - val_loss: 0.1811 - val_acc: 0.9249\n",
      "Epoch 223/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1569 - acc: 0.9294 - val_loss: 0.2111 - val_acc: 0.8824\n",
      "Epoch 224/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1591 - acc: 0.9269 - val_loss: 0.1875 - val_acc: 0.9290\n",
      "Epoch 225/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1581 - acc: 0.9269 - val_loss: 0.1730 - val_acc: 0.9189\n",
      "Epoch 226/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1619 - acc: 0.9233 - val_loss: 0.2215 - val_acc: 0.9006\n",
      "Epoch 227/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1609 - acc: 0.9274 - val_loss: 0.1698 - val_acc: 0.9189\n",
      "Epoch 228/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1738 - acc: 0.9157 - val_loss: 0.1753 - val_acc: 0.9290\n",
      "Epoch 229/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1716 - acc: 0.9203 - val_loss: 0.1544 - val_acc: 0.9412\n",
      "Epoch 230/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1451 - acc: 0.9314 - val_loss: 0.1672 - val_acc: 0.9473\n",
      "Epoch 231/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1454 - acc: 0.9345 - val_loss: 0.1495 - val_acc: 0.9412\n",
      "Epoch 232/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1461 - acc: 0.9355 - val_loss: 0.1929 - val_acc: 0.9148\n",
      "Epoch 233/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1507 - acc: 0.9309 - val_loss: 0.1824 - val_acc: 0.8966\n",
      "Epoch 234/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1714 - acc: 0.9198 - val_loss: 0.1512 - val_acc: 0.9412\n",
      "Epoch 235/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1428 - acc: 0.9426 - val_loss: 0.1728 - val_acc: 0.9189\n",
      "Epoch 236/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1582 - acc: 0.9284 - val_loss: 0.2296 - val_acc: 0.9108\n",
      "Epoch 237/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1584 - acc: 0.9274 - val_loss: 0.2512 - val_acc: 0.9067\n",
      "Epoch 238/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1621 - acc: 0.9294 - val_loss: 0.1666 - val_acc: 0.9108\n",
      "Epoch 239/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1436 - acc: 0.9345 - val_loss: 0.2247 - val_acc: 0.9087\n",
      "Epoch 240/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1598 - acc: 0.9269 - val_loss: 0.1592 - val_acc: 0.9310\n",
      "Epoch 241/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1497 - acc: 0.9335 - val_loss: 0.1458 - val_acc: 0.9290\n",
      "Epoch 242/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1443 - acc: 0.9365 - val_loss: 0.1647 - val_acc: 0.9229\n",
      "Epoch 243/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1608 - acc: 0.9264 - val_loss: 0.2210 - val_acc: 0.8824\n",
      "Epoch 244/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1628 - acc: 0.9223 - val_loss: 0.1539 - val_acc: 0.9229\n",
      "Epoch 245/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1524 - acc: 0.9309 - val_loss: 0.1781 - val_acc: 0.9189\n",
      "Epoch 246/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1540 - acc: 0.9325 - val_loss: 0.2383 - val_acc: 0.9087\n",
      "Epoch 247/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1512 - acc: 0.9299 - val_loss: 0.1497 - val_acc: 0.9189\n",
      "Epoch 248/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1564 - acc: 0.9243 - val_loss: 0.1395 - val_acc: 0.9351\n",
      "Epoch 249/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1400 - acc: 0.9350 - val_loss: 0.1550 - val_acc: 0.9249\n",
      "Epoch 250/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1376 - acc: 0.9350 - val_loss: 0.2119 - val_acc: 0.9168\n",
      "Epoch 251/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1442 - acc: 0.9264 - val_loss: 0.1592 - val_acc: 0.9249\n",
      "Epoch 252/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1564 - acc: 0.9259 - val_loss: 0.1637 - val_acc: 0.9229\n",
      "Epoch 253/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.1375 - acc: 0.9431 - val_loss: 0.1809 - val_acc: 0.9148\n",
      "Epoch 254/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1562 - acc: 0.9279 - val_loss: 0.1693 - val_acc: 0.9168\n",
      "Epoch 255/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1591 - acc: 0.9223 - val_loss: 0.1494 - val_acc: 0.9249\n",
      "Epoch 256/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1644 - acc: 0.9223 - val_loss: 0.1378 - val_acc: 0.9371\n",
      "Epoch 257/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1311 - acc: 0.9416 - val_loss: 0.1723 - val_acc: 0.9108\n",
      "Epoch 258/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1362 - acc: 0.9330 - val_loss: 0.1847 - val_acc: 0.9148\n",
      "Epoch 259/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1433 - acc: 0.9350 - val_loss: 0.1945 - val_acc: 0.9148\n",
      "Epoch 260/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1416 - acc: 0.9355 - val_loss: 0.1497 - val_acc: 0.9249\n",
      "Epoch 261/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1380 - acc: 0.9345 - val_loss: 0.2007 - val_acc: 0.8986\n",
      "Epoch 262/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1569 - acc: 0.9325 - val_loss: 0.1635 - val_acc: 0.9108\n",
      "Epoch 263/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1295 - acc: 0.9380 - val_loss: 0.1353 - val_acc: 0.9452\n",
      "Epoch 264/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1421 - acc: 0.9391 - val_loss: 0.1393 - val_acc: 0.9290\n",
      "Epoch 265/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1431 - acc: 0.9325 - val_loss: 0.1674 - val_acc: 0.9189\n",
      "Epoch 266/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1620 - acc: 0.9203 - val_loss: 0.1926 - val_acc: 0.9026\n",
      "Epoch 267/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1441 - acc: 0.9319 - val_loss: 0.1414 - val_acc: 0.9229\n",
      "Epoch 268/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1456 - acc: 0.9350 - val_loss: 0.1647 - val_acc: 0.9209\n",
      "Epoch 269/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1395 - acc: 0.9385 - val_loss: 0.1660 - val_acc: 0.9189\n",
      "Epoch 270/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1564 - acc: 0.9279 - val_loss: 0.1558 - val_acc: 0.9189\n",
      "Epoch 271/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1400 - acc: 0.9299 - val_loss: 0.1395 - val_acc: 0.9351\n",
      "Epoch 272/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1370 - acc: 0.9426 - val_loss: 0.1280 - val_acc: 0.9554\n",
      "Epoch 273/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1442 - acc: 0.9294 - val_loss: 0.1548 - val_acc: 0.9249\n",
      "Epoch 274/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1312 - acc: 0.9396 - val_loss: 0.1362 - val_acc: 0.9351\n",
      "Epoch 275/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1449 - acc: 0.9304 - val_loss: 0.1331 - val_acc: 0.9452\n",
      "Epoch 276/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1382 - acc: 0.9365 - val_loss: 0.1349 - val_acc: 0.9513\n",
      "Epoch 277/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1399 - acc: 0.9309 - val_loss: 0.4337 - val_acc: 0.8398\n",
      "Epoch 278/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1529 - acc: 0.9294 - val_loss: 0.1980 - val_acc: 0.9067\n",
      "Epoch 279/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1370 - acc: 0.9365 - val_loss: 0.1466 - val_acc: 0.9270\n",
      "Epoch 280/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1325 - acc: 0.9375 - val_loss: 0.1317 - val_acc: 0.9432\n",
      "Epoch 281/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1381 - acc: 0.9406 - val_loss: 0.1307 - val_acc: 0.9331\n",
      "Epoch 282/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1352 - acc: 0.9365 - val_loss: 0.1675 - val_acc: 0.9189\n",
      "Epoch 283/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1383 - acc: 0.9340 - val_loss: 0.2617 - val_acc: 0.8783\n",
      "Epoch 284/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1362 - acc: 0.9350 - val_loss: 0.1966 - val_acc: 0.9128\n",
      "Epoch 285/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1372 - acc: 0.9340 - val_loss: 0.1520 - val_acc: 0.9391\n",
      "Epoch 286/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1270 - acc: 0.9391 - val_loss: 0.1499 - val_acc: 0.9331\n",
      "Epoch 287/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1322 - acc: 0.9380 - val_loss: 0.2566 - val_acc: 0.8844\n",
      "Epoch 288/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1457 - acc: 0.9340 - val_loss: 0.1270 - val_acc: 0.9452\n",
      "Epoch 289/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1473 - acc: 0.9259 - val_loss: 0.2222 - val_acc: 0.8824\n",
      "Epoch 290/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1635 - acc: 0.9208 - val_loss: 0.1486 - val_acc: 0.9229\n",
      "Epoch 291/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1207 - acc: 0.9431 - val_loss: 0.1358 - val_acc: 0.9310\n",
      "Epoch 292/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1324 - acc: 0.9355 - val_loss: 0.1345 - val_acc: 0.9391\n",
      "Epoch 293/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1553 - acc: 0.9284 - val_loss: 0.1221 - val_acc: 0.9574\n",
      "Epoch 294/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1325 - acc: 0.9421 - val_loss: 0.1335 - val_acc: 0.9351\n",
      "Epoch 295/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1196 - acc: 0.9451 - val_loss: 0.1307 - val_acc: 0.9412\n",
      "Epoch 296/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1370 - acc: 0.9355 - val_loss: 0.2526 - val_acc: 0.8986\n",
      "Epoch 297/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1557 - acc: 0.9213 - val_loss: 0.1824 - val_acc: 0.9189\n",
      "Epoch 298/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1354 - acc: 0.9340 - val_loss: 0.2684 - val_acc: 0.8763\n",
      "Epoch 299/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1412 - acc: 0.9299 - val_loss: 0.1249 - val_acc: 0.9412\n",
      "Epoch 300/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1260 - acc: 0.9406 - val_loss: 0.1439 - val_acc: 0.9391\n",
      "Epoch 301/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1315 - acc: 0.9360 - val_loss: 0.1969 - val_acc: 0.9108\n",
      "Epoch 302/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1684 - acc: 0.906 - 0s - loss: 0.1310 - acc: 0.9375 - val_loss: 0.1306 - val_acc: 0.9371\n",
      "Epoch 303/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1193 - acc: 0.9472 - val_loss: 0.2613 - val_acc: 0.8783\n",
      "Epoch 304/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1399 - acc: 0.9375 - val_loss: 0.1383 - val_acc: 0.9351\n",
      "Epoch 305/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1639 - acc: 0.9264 - val_loss: 0.1999 - val_acc: 0.9047\n",
      "Epoch 306/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1420 - acc: 0.9370 - val_loss: 0.1285 - val_acc: 0.9351\n",
      "Epoch 307/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1383 - acc: 0.929 - 0s - loss: 0.1280 - acc: 0.9451 - val_loss: 0.1991 - val_acc: 0.9189\n",
      "Epoch 308/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1381 - acc: 0.9335 - val_loss: 0.1306 - val_acc: 0.9351\n",
      "Epoch 309/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1374 - acc: 0.9355 - val_loss: 0.1443 - val_acc: 0.9331\n",
      "Epoch 310/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1268 - acc: 0.9436 - val_loss: 0.1873 - val_acc: 0.9087\n",
      "Epoch 311/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1328 - acc: 0.9406 - val_loss: 0.2449 - val_acc: 0.9108\n",
      "Epoch 312/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1291 - acc: 0.9416 - val_loss: 0.1388 - val_acc: 0.9351\n",
      "Epoch 313/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1371 - acc: 0.9416 - val_loss: 0.2108 - val_acc: 0.9006\n",
      "Epoch 314/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1324 - acc: 0.9441 - val_loss: 0.1187 - val_acc: 0.9452\n",
      "Epoch 315/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1327 - acc: 0.9385 - val_loss: 0.1542 - val_acc: 0.9270\n",
      "Epoch 316/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.1249 - acc: 0.9380 - val_loss: 0.1816 - val_acc: 0.9148\n",
      "Epoch 317/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1234 - acc: 0.9436 - val_loss: 0.3122 - val_acc: 0.8621\n",
      "Epoch 318/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1426 - acc: 0.9289 - val_loss: 0.1184 - val_acc: 0.9513\n",
      "Epoch 319/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1277 - acc: 0.9441 - val_loss: 0.1204 - val_acc: 0.9452\n",
      "Epoch 320/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1386 - acc: 0.9340 - val_loss: 0.3006 - val_acc: 0.8641\n",
      "Epoch 321/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1268 - acc: 0.9370 - val_loss: 0.1161 - val_acc: 0.9473\n",
      "Epoch 322/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1242 - acc: 0.9406 - val_loss: 0.1561 - val_acc: 0.9229\n",
      "Epoch 323/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1249 - acc: 0.9446 - val_loss: 0.1552 - val_acc: 0.9229\n",
      "Epoch 324/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1365 - acc: 0.9319 - val_loss: 0.2372 - val_acc: 0.8884\n",
      "Epoch 325/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1436 - acc: 0.9340 - val_loss: 0.1222 - val_acc: 0.9473\n",
      "Epoch 326/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1275 - acc: 0.9385 - val_loss: 0.1636 - val_acc: 0.9209\n",
      "Epoch 327/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1178 - acc: 0.9462 - val_loss: 0.1712 - val_acc: 0.9229\n",
      "Epoch 328/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1432 - acc: 0.9340 - val_loss: 0.1181 - val_acc: 0.9594\n",
      "Epoch 329/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1299 - acc: 0.953 - 0s - loss: 0.1254 - acc: 0.9401 - val_loss: 0.1265 - val_acc: 0.9371\n",
      "Epoch 330/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1334 - acc: 0.9355 - val_loss: 0.1958 - val_acc: 0.9067\n",
      "Epoch 331/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1194 - acc: 0.9507 - val_loss: 0.1282 - val_acc: 0.9452\n",
      "Epoch 332/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1187 - acc: 0.9441 - val_loss: 0.1388 - val_acc: 0.9249\n",
      "Epoch 333/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1336 - acc: 0.9380 - val_loss: 0.1978 - val_acc: 0.9128\n",
      "Epoch 334/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1211 - acc: 0.9406 - val_loss: 0.1173 - val_acc: 0.9412\n",
      "Epoch 335/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1261 - acc: 0.9380 - val_loss: 0.1916 - val_acc: 0.9229\n",
      "Epoch 336/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1244 - acc: 0.9406 - val_loss: 0.1942 - val_acc: 0.9229\n",
      "Epoch 337/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1330 - acc: 0.9370 - val_loss: 0.1297 - val_acc: 0.9270\n",
      "Epoch 338/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1226 - acc: 0.9426 - val_loss: 0.1369 - val_acc: 0.9290\n",
      "Epoch 339/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1328 - acc: 0.9345 - val_loss: 0.2030 - val_acc: 0.9209\n",
      "Epoch 340/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1212 - acc: 0.9477 - val_loss: 0.2012 - val_acc: 0.9047\n",
      "Epoch 341/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1345 - acc: 0.9396 - val_loss: 0.1242 - val_acc: 0.9513\n",
      "Epoch 342/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1256 - acc: 0.9391 - val_loss: 0.1382 - val_acc: 0.9331\n",
      "Epoch 343/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1350 - acc: 0.9330 - val_loss: 0.1388 - val_acc: 0.9310\n",
      "Epoch 344/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1261 - acc: 0.9411 - val_loss: 0.1166 - val_acc: 0.9493\n",
      "Epoch 345/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1190 - acc: 0.9502 - val_loss: 0.1321 - val_acc: 0.9351\n",
      "Epoch 346/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1413 - acc: 0.9253 - val_loss: 0.1709 - val_acc: 0.9168\n",
      "Epoch 347/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1528 - acc: 0.9294 - val_loss: 0.1322 - val_acc: 0.9371\n",
      "Epoch 348/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1180 - acc: 0.945 - 0s - loss: 0.1359 - acc: 0.9345 - val_loss: 0.1614 - val_acc: 0.9310\n",
      "Epoch 349/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1272 - acc: 0.9421 - val_loss: 0.1253 - val_acc: 0.9473\n",
      "Epoch 350/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1210 - acc: 0.9416 - val_loss: 0.1544 - val_acc: 0.9209\n",
      "Epoch 351/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1625 - acc: 0.9264 - val_loss: 0.1541 - val_acc: 0.9168\n",
      "Epoch 352/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1227 - acc: 0.9401 - val_loss: 0.1337 - val_acc: 0.9270\n",
      "Epoch 353/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1300 - acc: 0.9360 - val_loss: 0.2191 - val_acc: 0.8966\n",
      "Epoch 354/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1273 - acc: 0.9396 - val_loss: 0.1202 - val_acc: 0.9452\n",
      "Epoch 355/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1128 - acc: 0.9436 - val_loss: 0.1419 - val_acc: 0.9270\n",
      "Epoch 356/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1157 - acc: 0.9502 - val_loss: 0.1151 - val_acc: 0.9533\n",
      "Epoch 357/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1246 - acc: 0.9391 - val_loss: 0.3759 - val_acc: 0.8519\n",
      "Epoch 358/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1646 - acc: 0.925 - 0s - loss: 0.1637 - acc: 0.9264 - val_loss: 0.2248 - val_acc: 0.9148\n",
      "Epoch 359/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1298 - acc: 0.9426 - val_loss: 0.1255 - val_acc: 0.9452\n",
      "Epoch 360/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1136 - acc: 0.9477 - val_loss: 0.1212 - val_acc: 0.9493\n",
      "Epoch 361/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1256 - acc: 0.9436 - val_loss: 0.1777 - val_acc: 0.9189\n",
      "Epoch 362/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1108 - acc: 0.9426 - val_loss: 0.1390 - val_acc: 0.9249\n",
      "Epoch 363/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1259 - acc: 0.9380 - val_loss: 0.1261 - val_acc: 0.9391\n",
      "Epoch 364/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1193 - acc: 0.9380 - val_loss: 0.2656 - val_acc: 0.9026\n",
      "Epoch 365/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1352 - acc: 0.9391 - val_loss: 0.1895 - val_acc: 0.9209\n",
      "Epoch 366/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1207 - acc: 0.9431 - val_loss: 0.1121 - val_acc: 0.9432\n",
      "Epoch 367/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1285 - acc: 0.9431 - val_loss: 0.1311 - val_acc: 0.9331\n",
      "Epoch 368/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1148 - acc: 0.9385 - val_loss: 0.1816 - val_acc: 0.9148\n",
      "Epoch 369/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1307 - acc: 0.9365 - val_loss: 0.1599 - val_acc: 0.9209\n",
      "Epoch 370/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1200 - acc: 0.9411 - val_loss: 0.1603 - val_acc: 0.9249\n",
      "Epoch 371/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1204 - acc: 0.9375 - val_loss: 0.1675 - val_acc: 0.9249\n",
      "Epoch 372/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1309 - acc: 0.9335 - val_loss: 0.1404 - val_acc: 0.9270\n",
      "Epoch 373/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1409 - acc: 0.9269 - val_loss: 0.1172 - val_acc: 0.9493\n",
      "Epoch 374/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1187 - acc: 0.9431 - val_loss: 0.1127 - val_acc: 0.9473\n",
      "Epoch 375/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1342 - acc: 0.9370 - val_loss: 0.1302 - val_acc: 0.9310\n",
      "Epoch 376/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1420 - acc: 0.9299 - val_loss: 0.1514 - val_acc: 0.9290\n",
      "Epoch 377/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1266 - acc: 0.9411 - val_loss: 0.1122 - val_acc: 0.9473\n",
      "Epoch 378/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.1372 - acc: 0.9330 - val_loss: 0.1200 - val_acc: 0.9371\n",
      "Epoch 379/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1157 - acc: 0.9385 - val_loss: 0.2200 - val_acc: 0.9189\n",
      "Epoch 380/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1228 - acc: 0.9436 - val_loss: 0.1815 - val_acc: 0.9168\n",
      "Epoch 381/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1472 - acc: 0.9355 - val_loss: 0.1372 - val_acc: 0.9290\n",
      "Epoch 382/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1153 - acc: 0.9436 - val_loss: 0.1729 - val_acc: 0.9148\n",
      "Epoch 383/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1564 - acc: 0.9304 - val_loss: 0.1980 - val_acc: 0.9047\n",
      "Epoch 384/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1341 - acc: 0.9350 - val_loss: 0.1114 - val_acc: 0.9533\n",
      "Epoch 385/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1339 - acc: 0.9365 - val_loss: 0.1285 - val_acc: 0.9391\n",
      "Epoch 386/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1357 - acc: 0.9360 - val_loss: 0.1597 - val_acc: 0.9290\n",
      "Epoch 387/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1298 - acc: 0.9416 - val_loss: 0.1176 - val_acc: 0.9391\n",
      "Epoch 388/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1141 - acc: 0.9497 - val_loss: 0.1461 - val_acc: 0.9209\n",
      "Epoch 389/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1149 - acc: 0.9406 - val_loss: 0.1214 - val_acc: 0.9473\n",
      "Epoch 390/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1082 - acc: 0.9446 - val_loss: 0.1292 - val_acc: 0.9331\n",
      "Epoch 391/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1320 - acc: 0.9355 - val_loss: 0.1641 - val_acc: 0.9209\n",
      "Epoch 392/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1163 - acc: 0.9436 - val_loss: 0.1280 - val_acc: 0.9290\n",
      "Epoch 393/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1260 - acc: 0.9421 - val_loss: 0.2624 - val_acc: 0.8945\n",
      "Epoch 394/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1168 - acc: 0.9512 - val_loss: 0.1376 - val_acc: 0.9290\n",
      "Epoch 395/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1225 - acc: 0.9411 - val_loss: 0.1297 - val_acc: 0.9331\n",
      "Epoch 396/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1200 - acc: 0.9426 - val_loss: 0.1790 - val_acc: 0.9209\n",
      "Epoch 397/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1172 - acc: 0.9487 - val_loss: 0.1752 - val_acc: 0.9189\n",
      "Epoch 398/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1182 - acc: 0.9451 - val_loss: 0.1352 - val_acc: 0.9310\n",
      "Epoch 399/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1116 - acc: 0.9451 - val_loss: 0.1209 - val_acc: 0.9331\n",
      "Epoch 400/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1292 - acc: 0.9350 - val_loss: 0.1667 - val_acc: 0.9168\n",
      "Epoch 401/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1155 - acc: 0.9411 - val_loss: 0.1130 - val_acc: 0.9594\n",
      "Epoch 402/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1116 - acc: 0.9487 - val_loss: 0.2403 - val_acc: 0.9148\n",
      "Epoch 403/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1197 - acc: 0.9431 - val_loss: 0.2289 - val_acc: 0.9168\n",
      "Epoch 404/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1154 - acc: 0.9477 - val_loss: 0.1134 - val_acc: 0.9554\n",
      "Epoch 405/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1343 - acc: 0.9294 - val_loss: 0.2348 - val_acc: 0.9168\n",
      "Epoch 406/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1129 - acc: 0.9477 - val_loss: 0.3309 - val_acc: 0.8905\n",
      "Epoch 407/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1344 - acc: 0.9360 - val_loss: 0.1375 - val_acc: 0.9290\n",
      "Epoch 408/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1227 - acc: 0.9411 - val_loss: 0.1163 - val_acc: 0.9533\n",
      "Epoch 409/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1254 - acc: 0.9421 - val_loss: 0.1499 - val_acc: 0.9290\n",
      "Epoch 410/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1167 - acc: 0.9436 - val_loss: 0.1438 - val_acc: 0.9432\n",
      "Epoch 411/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1060 - acc: 0.9467 - val_loss: 0.1769 - val_acc: 0.9209\n",
      "Epoch 412/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1356 - acc: 0.9370 - val_loss: 0.1242 - val_acc: 0.9371\n",
      "Epoch 413/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1330 - acc: 0.9350 - val_loss: 0.1141 - val_acc: 0.9615\n",
      "Epoch 414/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1245 - acc: 0.9431 - val_loss: 0.1649 - val_acc: 0.9128\n",
      "Epoch 415/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1250 - acc: 0.9370 - val_loss: 0.1905 - val_acc: 0.9189\n",
      "Epoch 416/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1133 - acc: 0.9451 - val_loss: 0.1155 - val_acc: 0.9391\n",
      "Epoch 417/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1152 - acc: 0.9472 - val_loss: 0.1278 - val_acc: 0.9371\n",
      "Epoch 418/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1305 - acc: 0.9375 - val_loss: 0.1488 - val_acc: 0.9412\n",
      "Epoch 419/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1148 - acc: 0.9451 - val_loss: 0.2782 - val_acc: 0.8966\n",
      "Epoch 420/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1251 - acc: 0.9441 - val_loss: 0.1475 - val_acc: 0.9310\n",
      "Epoch 421/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1219 - acc: 0.9416 - val_loss: 0.1773 - val_acc: 0.9148\n",
      "Epoch 422/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1243 - acc: 0.9441 - val_loss: 0.1245 - val_acc: 0.9391\n",
      "Epoch 423/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1316 - acc: 0.9319 - val_loss: 0.1533 - val_acc: 0.9249\n",
      "Epoch 424/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1129 - acc: 0.9502 - val_loss: 0.2041 - val_acc: 0.9209\n",
      "Epoch 425/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1334 - acc: 0.9385 - val_loss: 0.1223 - val_acc: 0.9391\n",
      "Epoch 426/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1201 - acc: 0.9406 - val_loss: 0.1391 - val_acc: 0.9310\n",
      "Epoch 427/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1385 - acc: 0.9355 - val_loss: 0.1364 - val_acc: 0.9290\n",
      "Epoch 428/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1156 - acc: 0.9462 - val_loss: 0.1870 - val_acc: 0.9067\n",
      "Epoch 429/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1093 - acc: 0.9401 - val_loss: 0.2282 - val_acc: 0.9047\n",
      "Epoch 430/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1268 - acc: 0.9421 - val_loss: 0.1097 - val_acc: 0.9452\n",
      "Epoch 431/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1163 - acc: 0.9457 - val_loss: 0.1073 - val_acc: 0.9493\n",
      "Epoch 432/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1273 - acc: 0.9330 - val_loss: 0.1130 - val_acc: 0.9432\n",
      "Epoch 433/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1164 - acc: 0.9462 - val_loss: 0.1321 - val_acc: 0.9412\n",
      "Epoch 434/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1146 - acc: 0.9457 - val_loss: 0.1627 - val_acc: 0.9270\n",
      "Epoch 435/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1368 - acc: 0.9406 - val_loss: 0.2002 - val_acc: 0.9189\n",
      "Epoch 436/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1198 - acc: 0.9426 - val_loss: 0.1763 - val_acc: 0.9290\n",
      "Epoch 437/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1216 - acc: 0.9441 - val_loss: 0.1063 - val_acc: 0.9594\n",
      "Epoch 438/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1095 - acc: 0.9492 - val_loss: 0.1223 - val_acc: 0.9493\n",
      "Epoch 439/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1128 - acc: 0.9462 - val_loss: 0.1187 - val_acc: 0.9351\n",
      "Epoch 440/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1069 - acc: 0.9487 - val_loss: 0.1460 - val_acc: 0.9249\n",
      "Epoch 441/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.1106 - acc: 0.9426 - val_loss: 0.1271 - val_acc: 0.9371\n",
      "Epoch 442/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1149 - acc: 0.9462 - val_loss: 0.1649 - val_acc: 0.9189\n",
      "Epoch 443/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1331 - acc: 0.9360 - val_loss: 0.1414 - val_acc: 0.9351\n",
      "Epoch 444/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1189 - acc: 0.9401 - val_loss: 0.1072 - val_acc: 0.9615\n",
      "Epoch 445/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1136 - acc: 0.9467 - val_loss: 0.1531 - val_acc: 0.9270\n",
      "Epoch 446/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1081 - acc: 0.9482 - val_loss: 0.1120 - val_acc: 0.9371\n",
      "Epoch 447/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1206 - acc: 0.9421 - val_loss: 0.1953 - val_acc: 0.9168\n",
      "Epoch 448/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1195 - acc: 0.9477 - val_loss: 0.1326 - val_acc: 0.9412\n",
      "Epoch 449/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1299 - acc: 0.9375 - val_loss: 0.1183 - val_acc: 0.9351\n",
      "Epoch 450/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1328 - acc: 0.9335 - val_loss: 0.1605 - val_acc: 0.9229\n",
      "Epoch 451/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1160 - acc: 0.9482 - val_loss: 0.1124 - val_acc: 0.9615\n",
      "Epoch 452/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1150 - acc: 0.9416 - val_loss: 0.1848 - val_acc: 0.9270\n",
      "Epoch 453/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1115 - acc: 0.9482 - val_loss: 0.1083 - val_acc: 0.9412\n",
      "Epoch 454/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1112 - acc: 0.9457 - val_loss: 0.1096 - val_acc: 0.9432\n",
      "Epoch 455/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1213 - acc: 0.9431 - val_loss: 0.1286 - val_acc: 0.9310\n",
      "Epoch 456/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1295 - acc: 0.9314 - val_loss: 0.1409 - val_acc: 0.9331\n",
      "Epoch 457/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1282 - acc: 0.9360 - val_loss: 0.2182 - val_acc: 0.9229\n",
      "Epoch 458/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1107 - acc: 0.9472 - val_loss: 0.1220 - val_acc: 0.9371\n",
      "Epoch 459/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1416 - acc: 0.9309 - val_loss: 0.1888 - val_acc: 0.9128\n",
      "Epoch 460/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1265 - acc: 0.9380 - val_loss: 0.1256 - val_acc: 0.9473\n",
      "Epoch 461/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1050 - acc: 0.9553 - val_loss: 0.1096 - val_acc: 0.9391\n",
      "Epoch 462/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1077 - acc: 0.9487 - val_loss: 0.2058 - val_acc: 0.9168\n",
      "Epoch 463/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1221 - acc: 0.9406 - val_loss: 0.1316 - val_acc: 0.9412\n",
      "Epoch 464/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1200 - acc: 0.9385 - val_loss: 0.1119 - val_acc: 0.9493\n",
      "Epoch 465/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1038 - acc: 0.9462 - val_loss: 0.1281 - val_acc: 0.9391\n",
      "Epoch 466/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1216 - acc: 0.9431 - val_loss: 0.1379 - val_acc: 0.9290\n",
      "Epoch 467/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1375 - acc: 0.9319 - val_loss: 0.1257 - val_acc: 0.9371\n",
      "Epoch 468/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1185 - acc: 0.9446 - val_loss: 0.1433 - val_acc: 0.9371\n",
      "Epoch 469/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1185 - acc: 0.9441 - val_loss: 0.1973 - val_acc: 0.9229\n",
      "Epoch 470/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1227 - acc: 0.9380 - val_loss: 0.1201 - val_acc: 0.9412\n",
      "Epoch 471/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1195 - acc: 0.9406 - val_loss: 0.1634 - val_acc: 0.9229\n",
      "Epoch 472/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1193 - acc: 0.9472 - val_loss: 0.1438 - val_acc: 0.9331\n",
      "Epoch 473/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1307 - acc: 0.9365 - val_loss: 0.1077 - val_acc: 0.9412\n",
      "Epoch 474/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1123 - acc: 0.9446 - val_loss: 0.1087 - val_acc: 0.9574\n",
      "Epoch 475/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1137 - acc: 0.9462 - val_loss: 0.1146 - val_acc: 0.9574\n",
      "Epoch 476/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1239 - acc: 0.9426 - val_loss: 0.2158 - val_acc: 0.9209\n",
      "Epoch 477/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1224 - acc: 0.9441 - val_loss: 0.2317 - val_acc: 0.9087\n",
      "Epoch 478/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1267 - acc: 0.9406 - val_loss: 0.1399 - val_acc: 0.9371\n",
      "Epoch 479/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1199 - acc: 0.9416 - val_loss: 0.1109 - val_acc: 0.9513\n",
      "Epoch 480/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1045 - acc: 0.9467 - val_loss: 0.1175 - val_acc: 0.9554\n",
      "Epoch 481/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1144 - acc: 0.9421 - val_loss: 0.1151 - val_acc: 0.9452\n",
      "Epoch 482/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1107 - acc: 0.9487 - val_loss: 0.1462 - val_acc: 0.9249\n",
      "Epoch 483/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1281 - acc: 0.9360 - val_loss: 0.1065 - val_acc: 0.9452\n",
      "Epoch 484/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1055 - acc: 0.9502 - val_loss: 0.1231 - val_acc: 0.9371\n",
      "Epoch 485/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1152 - acc: 0.9451 - val_loss: 0.1258 - val_acc: 0.9351\n",
      "Epoch 486/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1215 - acc: 0.9406 - val_loss: 0.1753 - val_acc: 0.9229\n",
      "Epoch 487/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1155 - acc: 0.9482 - val_loss: 0.1605 - val_acc: 0.9128\n",
      "Epoch 488/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1181 - acc: 0.9411 - val_loss: 0.2115 - val_acc: 0.9108\n",
      "Epoch 489/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1201 - acc: 0.9451 - val_loss: 0.1256 - val_acc: 0.9310\n",
      "Epoch 490/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1205 - acc: 0.9472 - val_loss: 0.1119 - val_acc: 0.9594\n",
      "Epoch 491/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1280 - acc: 0.9401 - val_loss: 0.1158 - val_acc: 0.9371\n",
      "Epoch 492/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1095 - acc: 0.9421 - val_loss: 0.1870 - val_acc: 0.9229\n",
      "Epoch 493/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1105 - acc: 0.9497 - val_loss: 0.1242 - val_acc: 0.9493\n",
      "Epoch 494/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1061 - acc: 0.9492 - val_loss: 0.1628 - val_acc: 0.9270\n",
      "Epoch 495/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1153 - acc: 0.9421 - val_loss: 0.1245 - val_acc: 0.9533\n",
      "Epoch 496/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1134 - acc: 0.9451 - val_loss: 0.1414 - val_acc: 0.9249\n",
      "Epoch 497/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1057 - acc: 0.9512 - val_loss: 0.1269 - val_acc: 0.9331\n",
      "Epoch 498/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1167 - acc: 0.9462 - val_loss: 0.1952 - val_acc: 0.9229\n",
      "Epoch 499/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1117 - acc: 0.9462 - val_loss: 0.1570 - val_acc: 0.9209\n",
      "Epoch 500/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1412 - acc: 0.9330 - val_loss: 0.1101 - val_acc: 0.9635\n",
      "Epoch 501/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0997 - acc: 0.9502 - val_loss: 0.1661 - val_acc: 0.9229\n",
      "Epoch 502/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1037 - acc: 0.9462 - val_loss: 0.1327 - val_acc: 0.9351\n",
      "Epoch 503/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1085 - acc: 0.9487 - val_loss: 0.1183 - val_acc: 0.9371\n",
      "Epoch 504/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.1093 - acc: 0.9441 - val_loss: 0.1616 - val_acc: 0.9209\n",
      "Epoch 505/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1063 - acc: 0.9492 - val_loss: 0.1626 - val_acc: 0.9270\n",
      "Epoch 506/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1190 - acc: 0.9416 - val_loss: 0.1207 - val_acc: 0.9533\n",
      "Epoch 507/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1137 - acc: 0.9487 - val_loss: 0.2525 - val_acc: 0.8925\n",
      "Epoch 508/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1452 - acc: 0.9335 - val_loss: 0.1335 - val_acc: 0.9432\n",
      "Epoch 509/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1403 - acc: 0.9335 - val_loss: 0.1472 - val_acc: 0.9331\n",
      "Epoch 510/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1193 - acc: 0.9431 - val_loss: 0.2441 - val_acc: 0.9026\n",
      "Epoch 511/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1148 - acc: 0.9472 - val_loss: 0.1056 - val_acc: 0.9513\n",
      "Epoch 512/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1050 - acc: 0.9462 - val_loss: 0.1547 - val_acc: 0.9310\n",
      "Epoch 513/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1084 - acc: 0.9457 - val_loss: 0.1409 - val_acc: 0.9249\n",
      "Epoch 514/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1159 - acc: 0.9477 - val_loss: 0.2195 - val_acc: 0.9047\n",
      "Epoch 515/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1178 - acc: 0.9441 - val_loss: 0.1948 - val_acc: 0.9128\n",
      "Epoch 516/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1114 - acc: 0.9487 - val_loss: 0.1099 - val_acc: 0.9452\n",
      "Epoch 517/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1061 - acc: 0.9477 - val_loss: 0.1097 - val_acc: 0.9391\n",
      "Epoch 518/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1213 - acc: 0.9401 - val_loss: 0.1494 - val_acc: 0.9270\n",
      "Epoch 519/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1111 - acc: 0.9507 - val_loss: 0.1062 - val_acc: 0.9432\n",
      "Epoch 520/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1150 - acc: 0.9497 - val_loss: 0.1158 - val_acc: 0.9391\n",
      "Epoch 521/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1079 - acc: 0.9502 - val_loss: 0.1178 - val_acc: 0.9594\n",
      "Epoch 522/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1207 - acc: 0.9457 - val_loss: 0.2050 - val_acc: 0.9067\n",
      "Epoch 523/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1124 - acc: 0.9472 - val_loss: 0.2086 - val_acc: 0.9209\n",
      "Epoch 524/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1318 - acc: 0.9406 - val_loss: 0.1848 - val_acc: 0.9290\n",
      "Epoch 525/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1052 - acc: 0.9497 - val_loss: 0.1557 - val_acc: 0.9270\n",
      "Epoch 526/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1216 - acc: 0.9451 - val_loss: 0.1707 - val_acc: 0.9249\n",
      "Epoch 527/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1239 - acc: 0.9457 - val_loss: 0.1249 - val_acc: 0.9310\n",
      "Epoch 528/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1090 - acc: 0.9416 - val_loss: 0.2377 - val_acc: 0.9148\n",
      "Epoch 529/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1167 - acc: 0.9467 - val_loss: 0.1418 - val_acc: 0.9270\n",
      "Epoch 530/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1126 - acc: 0.9487 - val_loss: 0.1383 - val_acc: 0.9290\n",
      "Epoch 531/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1127 - acc: 0.9451 - val_loss: 0.1271 - val_acc: 0.9493\n",
      "Epoch 532/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1048 - acc: 0.9487 - val_loss: 0.1136 - val_acc: 0.9412\n",
      "Epoch 533/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1083 - acc: 0.9401 - val_loss: 0.1402 - val_acc: 0.9310\n",
      "Epoch 534/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1152 - acc: 0.9451 - val_loss: 0.3653 - val_acc: 0.8803\n",
      "Epoch 535/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1214 - acc: 0.9451 - val_loss: 0.1236 - val_acc: 0.9331\n",
      "Epoch 536/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1052 - acc: 0.9497 - val_loss: 0.1132 - val_acc: 0.9452\n",
      "Epoch 537/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0998 - acc: 0.9502 - val_loss: 0.1386 - val_acc: 0.9270\n",
      "Epoch 538/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1123 - acc: 0.9467 - val_loss: 0.1957 - val_acc: 0.9168\n",
      "Epoch 539/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1307 - acc: 0.9391 - val_loss: 0.1091 - val_acc: 0.9432\n",
      "Epoch 540/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1091 - acc: 0.9507 - val_loss: 0.1205 - val_acc: 0.9412\n",
      "Epoch 541/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1031 - acc: 0.9523 - val_loss: 0.1730 - val_acc: 0.9229\n",
      "Epoch 542/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1130 - acc: 0.9416 - val_loss: 0.2004 - val_acc: 0.9128\n",
      "Epoch 543/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1091 - acc: 0.9462 - val_loss: 0.1067 - val_acc: 0.9432\n",
      "Epoch 544/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1056 - acc: 0.9518 - val_loss: 0.1213 - val_acc: 0.9533\n",
      "Epoch 545/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1131 - acc: 0.9426 - val_loss: 0.1209 - val_acc: 0.9473\n",
      "Epoch 546/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1107 - acc: 0.9472 - val_loss: 0.1645 - val_acc: 0.9249\n",
      "Epoch 547/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1238 - acc: 0.9467 - val_loss: 0.1469 - val_acc: 0.9371\n",
      "Epoch 548/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1279 - acc: 0.9457 - val_loss: 0.1243 - val_acc: 0.9351\n",
      "Epoch 549/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1088 - acc: 0.9467 - val_loss: 0.1268 - val_acc: 0.9412\n",
      "Epoch 550/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1197 - acc: 0.9385 - val_loss: 0.1475 - val_acc: 0.9290\n",
      "Epoch 551/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1140 - acc: 0.9391 - val_loss: 0.1040 - val_acc: 0.9655\n",
      "Epoch 552/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1019 - acc: 0.9548 - val_loss: 0.1608 - val_acc: 0.9249\n",
      "Epoch 553/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1168 - acc: 0.9431 - val_loss: 0.1128 - val_acc: 0.9533\n",
      "Epoch 554/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1095 - acc: 0.9467 - val_loss: 0.1418 - val_acc: 0.9290\n",
      "Epoch 555/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1165 - acc: 0.9401 - val_loss: 0.1048 - val_acc: 0.9594\n",
      "Epoch 556/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1053 - acc: 0.9487 - val_loss: 0.2065 - val_acc: 0.9229\n",
      "Epoch 557/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1234 - acc: 0.9462 - val_loss: 0.1067 - val_acc: 0.9533\n",
      "Epoch 558/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1033 - acc: 0.9512 - val_loss: 0.1123 - val_acc: 0.9574\n",
      "Epoch 559/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1022 - acc: 0.9518 - val_loss: 0.1225 - val_acc: 0.9513\n",
      "Epoch 560/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1179 - acc: 0.9426 - val_loss: 0.1503 - val_acc: 0.9249\n",
      "Epoch 561/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1041 - acc: 0.9507 - val_loss: 0.1370 - val_acc: 0.9290\n",
      "Epoch 562/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1187 - acc: 0.9411 - val_loss: 0.1539 - val_acc: 0.9229\n",
      "Epoch 563/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1182 - acc: 0.9380 - val_loss: 0.1363 - val_acc: 0.9290\n",
      "Epoch 564/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1306 - acc: 0.9401 - val_loss: 0.1691 - val_acc: 0.9168\n",
      "Epoch 565/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1111 - acc: 0.9426 - val_loss: 0.1095 - val_acc: 0.9615\n",
      "Epoch 566/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1097 - acc: 0.9487 - val_loss: 0.1180 - val_acc: 0.9371\n",
      "Epoch 567/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.1206 - acc: 0.9426 - val_loss: 0.2422 - val_acc: 0.8986\n",
      "Epoch 568/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1148 - acc: 0.9451 - val_loss: 0.1339 - val_acc: 0.9452\n",
      "Epoch 569/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1205 - acc: 0.9401 - val_loss: 0.1527 - val_acc: 0.9270\n",
      "Epoch 570/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1248 - acc: 0.9431 - val_loss: 0.1239 - val_acc: 0.9351\n",
      "Epoch 571/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1087 - acc: 0.9462 - val_loss: 0.1144 - val_acc: 0.9554\n",
      "Epoch 572/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1029 - acc: 0.9518 - val_loss: 0.1176 - val_acc: 0.9432\n",
      "Epoch 573/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1134 - acc: 0.9492 - val_loss: 0.1242 - val_acc: 0.9412\n",
      "Epoch 574/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1231 - acc: 0.9391 - val_loss: 0.1261 - val_acc: 0.9371\n",
      "Epoch 575/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1082 - acc: 0.9467 - val_loss: 0.2470 - val_acc: 0.9047\n",
      "Epoch 576/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1310 - acc: 0.9385 - val_loss: 0.1454 - val_acc: 0.9412\n",
      "Epoch 577/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1110 - acc: 0.9457 - val_loss: 0.1637 - val_acc: 0.9168\n",
      "Epoch 578/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1120 - acc: 0.9411 - val_loss: 0.3541 - val_acc: 0.8824\n",
      "Epoch 579/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1258 - acc: 0.9457 - val_loss: 0.1031 - val_acc: 0.9513\n",
      "Epoch 580/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1059 - acc: 0.9512 - val_loss: 0.1355 - val_acc: 0.9310\n",
      "Epoch 581/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1150 - acc: 0.9421 - val_loss: 0.1422 - val_acc: 0.9290\n",
      "Epoch 582/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1102 - acc: 0.9391 - val_loss: 0.1017 - val_acc: 0.9513\n",
      "Epoch 583/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1034 - acc: 0.9528 - val_loss: 0.1622 - val_acc: 0.9209\n",
      "Epoch 584/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1122 - acc: 0.9451 - val_loss: 0.1155 - val_acc: 0.9391\n",
      "Epoch 585/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1057 - acc: 0.9523 - val_loss: 0.1276 - val_acc: 0.9351\n",
      "Epoch 586/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1057 - acc: 0.9451 - val_loss: 0.1597 - val_acc: 0.9290\n",
      "Epoch 587/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1237 - acc: 0.9380 - val_loss: 0.1133 - val_acc: 0.9412\n",
      "Epoch 588/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1048 - acc: 0.9533 - val_loss: 0.1059 - val_acc: 0.9371\n",
      "Epoch 589/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1096 - acc: 0.9472 - val_loss: 0.1028 - val_acc: 0.9493\n",
      "Epoch 590/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1141 - acc: 0.9441 - val_loss: 0.2568 - val_acc: 0.9128\n",
      "Epoch 591/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1333 - acc: 0.9340 - val_loss: 0.1581 - val_acc: 0.9249\n",
      "Epoch 592/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1208 - acc: 0.9441 - val_loss: 0.1005 - val_acc: 0.9513\n",
      "Epoch 593/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1045 - acc: 0.9492 - val_loss: 0.1140 - val_acc: 0.9574\n",
      "Epoch 594/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1008 - acc: 0.9482 - val_loss: 0.1580 - val_acc: 0.9331\n",
      "Epoch 595/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1067 - acc: 0.9512 - val_loss: 0.1453 - val_acc: 0.9351\n",
      "Epoch 596/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1132 - acc: 0.9426 - val_loss: 0.1189 - val_acc: 0.9391\n",
      "Epoch 597/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1222 - acc: 0.9477 - val_loss: 0.1339 - val_acc: 0.9351\n",
      "Epoch 598/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1074 - acc: 0.9467 - val_loss: 0.1062 - val_acc: 0.9432\n",
      "Epoch 599/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1054 - acc: 0.9472 - val_loss: 0.1202 - val_acc: 0.9351\n",
      "Epoch 600/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1138 - acc: 0.9411 - val_loss: 0.1318 - val_acc: 0.9412\n",
      "Epoch 601/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1166 - acc: 0.9385 - val_loss: 0.1229 - val_acc: 0.9371\n",
      "Epoch 602/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1001 - acc: 0.9528 - val_loss: 0.1624 - val_acc: 0.9189\n",
      "Epoch 603/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1088 - acc: 0.9482 - val_loss: 0.1476 - val_acc: 0.9229\n",
      "Epoch 604/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1086 - acc: 0.9482 - val_loss: 0.2966 - val_acc: 0.8844\n",
      "Epoch 605/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1216 - acc: 0.9421 - val_loss: 0.2677 - val_acc: 0.8925\n",
      "Epoch 606/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1142 - acc: 0.9446 - val_loss: 0.1243 - val_acc: 0.9473\n",
      "Epoch 607/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1053 - acc: 0.9457 - val_loss: 0.1313 - val_acc: 0.9310\n",
      "Epoch 608/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1189 - acc: 0.9360 - val_loss: 0.1036 - val_acc: 0.9452\n",
      "Epoch 609/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1044 - acc: 0.9523 - val_loss: 0.1185 - val_acc: 0.9371\n",
      "Epoch 610/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1231 - acc: 0.9375 - val_loss: 0.1331 - val_acc: 0.9412\n",
      "Epoch 611/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1094 - acc: 0.9502 - val_loss: 0.1212 - val_acc: 0.9391\n",
      "Epoch 612/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1049 - acc: 0.9512 - val_loss: 0.1483 - val_acc: 0.9229\n",
      "Epoch 613/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1031 - acc: 0.9512 - val_loss: 0.1274 - val_acc: 0.9351\n",
      "Epoch 614/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1046 - acc: 0.9482 - val_loss: 0.1014 - val_acc: 0.9432\n",
      "Epoch 615/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1131 - acc: 0.9446 - val_loss: 0.1337 - val_acc: 0.9270\n",
      "Epoch 616/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1205 - acc: 0.9416 - val_loss: 0.1901 - val_acc: 0.9229\n",
      "Epoch 617/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1046 - acc: 0.9512 - val_loss: 0.1181 - val_acc: 0.9391\n",
      "Epoch 618/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0970 - acc: 0.9563 - val_loss: 0.1529 - val_acc: 0.9290\n",
      "Epoch 619/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1275 - acc: 0.9396 - val_loss: 0.1276 - val_acc: 0.9310\n",
      "Epoch 620/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1092 - acc: 0.9457 - val_loss: 0.1743 - val_acc: 0.9249\n",
      "Epoch 621/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1065 - acc: 0.9477 - val_loss: 0.1831 - val_acc: 0.9229\n",
      "Epoch 622/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1086 - acc: 0.9523 - val_loss: 0.2290 - val_acc: 0.9168\n",
      "Epoch 623/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1090 - acc: 0.9492 - val_loss: 0.1223 - val_acc: 0.9331\n",
      "Epoch 624/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1018 - acc: 0.9543 - val_loss: 0.2743 - val_acc: 0.9047\n",
      "Epoch 625/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1136 - acc: 0.9507 - val_loss: 0.1651 - val_acc: 0.9310\n",
      "Epoch 626/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1048 - acc: 0.9528 - val_loss: 0.1390 - val_acc: 0.9331\n",
      "Epoch 627/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1018 - acc: 0.9472 - val_loss: 0.1242 - val_acc: 0.9432\n",
      "Epoch 628/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1045 - acc: 0.9558 - val_loss: 0.0965 - val_acc: 0.9554\n",
      "Epoch 629/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1102 - acc: 0.9553 - val_loss: 0.1160 - val_acc: 0.9412\n",
      "Epoch 630/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.1181 - acc: 0.9441 - val_loss: 0.1159 - val_acc: 0.9371\n",
      "Epoch 631/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1191 - acc: 0.9441 - val_loss: 0.1257 - val_acc: 0.9310\n",
      "Epoch 632/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1029 - acc: 0.9451 - val_loss: 0.1091 - val_acc: 0.9452\n",
      "Epoch 633/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1067 - acc: 0.9457 - val_loss: 0.2728 - val_acc: 0.8966\n",
      "Epoch 634/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1245 - acc: 0.9416 - val_loss: 0.1024 - val_acc: 0.9473\n",
      "Epoch 635/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1045 - acc: 0.9487 - val_loss: 0.2964 - val_acc: 0.8844\n",
      "Epoch 636/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1230 - acc: 0.9406 - val_loss: 0.1303 - val_acc: 0.9371\n",
      "Epoch 637/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1037 - acc: 0.9502 - val_loss: 0.1261 - val_acc: 0.9391\n",
      "Epoch 638/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1175 - acc: 0.9370 - val_loss: 0.1149 - val_acc: 0.9574\n",
      "Epoch 639/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0966 - acc: 0.9558 - val_loss: 0.1141 - val_acc: 0.9574\n",
      "Epoch 640/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1093 - acc: 0.9487 - val_loss: 0.1050 - val_acc: 0.9412\n",
      "Epoch 641/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1056 - acc: 0.9451 - val_loss: 0.1639 - val_acc: 0.9270\n",
      "Epoch 642/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1086 - acc: 0.9462 - val_loss: 0.1092 - val_acc: 0.9533\n",
      "Epoch 643/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1058 - acc: 0.9462 - val_loss: 0.0992 - val_acc: 0.9533\n",
      "Epoch 644/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1145 - acc: 0.9446 - val_loss: 0.1008 - val_acc: 0.9473\n",
      "Epoch 645/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0923 - acc: 0.9563 - val_loss: 0.1214 - val_acc: 0.9371\n",
      "Epoch 646/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1038 - acc: 0.9507 - val_loss: 0.1281 - val_acc: 0.9533\n",
      "Epoch 647/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1143 - acc: 0.9482 - val_loss: 0.0997 - val_acc: 0.9513\n",
      "Epoch 648/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1015 - acc: 0.9487 - val_loss: 0.1011 - val_acc: 0.9493\n",
      "Epoch 649/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1059 - acc: 0.9436 - val_loss: 0.1106 - val_acc: 0.9412\n",
      "Epoch 650/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1075 - acc: 0.9497 - val_loss: 0.1722 - val_acc: 0.9290\n",
      "Epoch 651/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0972 - acc: 0.9533 - val_loss: 0.1332 - val_acc: 0.9310\n",
      "Epoch 652/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1050 - acc: 0.9477 - val_loss: 0.2150 - val_acc: 0.9026\n",
      "Epoch 653/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1144 - acc: 0.9441 - val_loss: 0.1168 - val_acc: 0.9331\n",
      "Epoch 654/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0920 - acc: 0.945 - 0s - loss: 0.0971 - acc: 0.9578 - val_loss: 0.1001 - val_acc: 0.9635\n",
      "Epoch 655/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1145 - acc: 0.9401 - val_loss: 0.1187 - val_acc: 0.9351\n",
      "Epoch 656/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1257 - acc: 0.9380 - val_loss: 0.1373 - val_acc: 0.9371\n",
      "Epoch 657/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1298 - acc: 0.9385 - val_loss: 0.1396 - val_acc: 0.9310\n",
      "Epoch 658/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0971 - acc: 0.9528 - val_loss: 0.1199 - val_acc: 0.9574\n",
      "Epoch 659/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0940 - acc: 0.9563 - val_loss: 0.1006 - val_acc: 0.9473\n",
      "Epoch 660/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1130 - acc: 0.9477 - val_loss: 0.1472 - val_acc: 0.9331\n",
      "Epoch 661/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1085 - acc: 0.9457 - val_loss: 0.1131 - val_acc: 0.9371\n",
      "Epoch 662/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1187 - acc: 0.9441 - val_loss: 0.1138 - val_acc: 0.9493\n",
      "Epoch 663/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1054 - acc: 0.9487 - val_loss: 0.1008 - val_acc: 0.9452\n",
      "Epoch 664/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1119 - acc: 0.9462 - val_loss: 0.1075 - val_acc: 0.9493\n",
      "Epoch 665/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1011 - acc: 0.9518 - val_loss: 0.1010 - val_acc: 0.9452\n",
      "Epoch 666/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1147 - acc: 0.9487 - val_loss: 0.1344 - val_acc: 0.9310\n",
      "Epoch 667/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1068 - acc: 0.9451 - val_loss: 0.1022 - val_acc: 0.9635\n",
      "Epoch 668/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1023 - acc: 0.9523 - val_loss: 0.1279 - val_acc: 0.9391\n",
      "Epoch 669/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1076 - acc: 0.9523 - val_loss: 0.1183 - val_acc: 0.9351\n",
      "Epoch 670/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1128 - acc: 0.9467 - val_loss: 0.1204 - val_acc: 0.9452\n",
      "Epoch 671/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1182 - acc: 0.9421 - val_loss: 0.1593 - val_acc: 0.9209\n",
      "Epoch 672/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0751 - acc: 0.960 - 0s - loss: 0.0996 - acc: 0.9528 - val_loss: 0.1186 - val_acc: 0.9351\n",
      "Epoch 673/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1264 - acc: 0.9396 - val_loss: 0.2085 - val_acc: 0.9168\n",
      "Epoch 674/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1062 - acc: 0.9467 - val_loss: 0.2551 - val_acc: 0.8925\n",
      "Epoch 675/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1154 - acc: 0.9446 - val_loss: 0.1297 - val_acc: 0.9371\n",
      "Epoch 676/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1070 - acc: 0.9431 - val_loss: 0.1344 - val_acc: 0.9391\n",
      "Epoch 677/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0962 - acc: 0.9558 - val_loss: 0.1142 - val_acc: 0.9554\n",
      "Epoch 678/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0971 - acc: 0.9563 - val_loss: 0.1164 - val_acc: 0.9371\n",
      "Epoch 679/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0985 - acc: 0.9487 - val_loss: 0.1342 - val_acc: 0.9432\n",
      "Epoch 680/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1167 - acc: 0.9431 - val_loss: 0.1893 - val_acc: 0.9128\n",
      "Epoch 681/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1346 - acc: 0.9304 - val_loss: 0.1509 - val_acc: 0.9249\n",
      "Epoch 682/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1116 - acc: 0.9401 - val_loss: 0.1123 - val_acc: 0.9574\n",
      "Epoch 683/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0917 - acc: 0.9594 - val_loss: 0.1168 - val_acc: 0.9473\n",
      "Epoch 684/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1033 - acc: 0.9518 - val_loss: 0.1080 - val_acc: 0.9452\n",
      "Epoch 685/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1017 - acc: 0.9497 - val_loss: 0.1396 - val_acc: 0.9412\n",
      "Epoch 686/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1125 - acc: 0.9477 - val_loss: 0.1538 - val_acc: 0.9270\n",
      "Epoch 687/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1063 - acc: 0.9472 - val_loss: 0.1427 - val_acc: 0.9351\n",
      "Epoch 688/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1076 - acc: 0.9457 - val_loss: 0.1003 - val_acc: 0.9513\n",
      "Epoch 689/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0993 - acc: 0.9518 - val_loss: 0.1075 - val_acc: 0.9432\n",
      "Epoch 690/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1004 - acc: 0.9518 - val_loss: 0.2755 - val_acc: 0.8986\n",
      "Epoch 691/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1146 - acc: 0.9451 - val_loss: 0.0936 - val_acc: 0.9574\n",
      "Epoch 692/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1114 - acc: 0.9451 - val_loss: 0.1489 - val_acc: 0.9351\n",
      "Epoch 693/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0939 - acc: 0.9584 - val_loss: 0.1057 - val_acc: 0.9452\n",
      "Epoch 694/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1020 - acc: 0.9523 - val_loss: 0.1325 - val_acc: 0.9331\n",
      "Epoch 695/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0990 - acc: 0.9543 - val_loss: 0.1270 - val_acc: 0.9351\n",
      "Epoch 696/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0951 - acc: 0.9487 - val_loss: 0.1220 - val_acc: 0.9554\n",
      "Epoch 697/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1250 - acc: 0.9360 - val_loss: 0.0988 - val_acc: 0.9533\n",
      "Epoch 698/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1074 - acc: 0.9502 - val_loss: 0.1003 - val_acc: 0.9594\n",
      "Epoch 699/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1066 - acc: 0.9467 - val_loss: 0.1538 - val_acc: 0.9229\n",
      "Epoch 700/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1143 - acc: 0.9472 - val_loss: 0.1574 - val_acc: 0.9290\n",
      "Epoch 701/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1203 - acc: 0.9401 - val_loss: 0.1383 - val_acc: 0.9290\n",
      "Epoch 702/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1091 - acc: 0.9512 - val_loss: 0.1064 - val_acc: 0.9452\n",
      "Epoch 703/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0968 - acc: 0.9563 - val_loss: 0.1897 - val_acc: 0.9290\n",
      "Epoch 704/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1283 - acc: 0.9391 - val_loss: 0.1539 - val_acc: 0.9310\n",
      "Epoch 705/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1041 - acc: 0.9472 - val_loss: 0.1002 - val_acc: 0.9473\n",
      "Epoch 706/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1012 - acc: 0.9523 - val_loss: 0.1196 - val_acc: 0.9412\n",
      "Epoch 707/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0975 - acc: 0.9543 - val_loss: 0.1061 - val_acc: 0.9432\n",
      "Epoch 708/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1115 - acc: 0.9457 - val_loss: 0.1243 - val_acc: 0.9391\n",
      "Epoch 709/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1020 - acc: 0.9523 - val_loss: 0.1211 - val_acc: 0.9351\n",
      "Epoch 710/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1364 - acc: 0.9406 - val_loss: 0.1019 - val_acc: 0.9533\n",
      "Epoch 711/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1026 - acc: 0.9487 - val_loss: 0.1152 - val_acc: 0.9554\n",
      "Epoch 712/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0908 - acc: 0.9553 - val_loss: 0.1097 - val_acc: 0.9391\n",
      "Epoch 713/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1136 - acc: 0.9401 - val_loss: 0.1182 - val_acc: 0.9412\n",
      "Epoch 714/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0997 - acc: 0.9507 - val_loss: 0.1678 - val_acc: 0.9270\n",
      "Epoch 715/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1007 - acc: 0.9487 - val_loss: 0.1433 - val_acc: 0.9270\n",
      "Epoch 716/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0987 - acc: 0.9528 - val_loss: 0.1905 - val_acc: 0.9168\n",
      "Epoch 717/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1088 - acc: 0.9477 - val_loss: 0.1203 - val_acc: 0.9391\n",
      "Epoch 718/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1073 - acc: 0.9467 - val_loss: 0.1362 - val_acc: 0.9310\n",
      "Epoch 719/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0957 - acc: 0.9507 - val_loss: 0.0993 - val_acc: 0.9513\n",
      "Epoch 720/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1140 - acc: 0.9457 - val_loss: 0.1274 - val_acc: 0.9371\n",
      "Epoch 721/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1165 - acc: 0.9416 - val_loss: 0.1029 - val_acc: 0.9635\n",
      "Epoch 722/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1008 - acc: 0.9528 - val_loss: 0.1124 - val_acc: 0.9391\n",
      "Epoch 723/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0986 - acc: 0.9558 - val_loss: 0.1289 - val_acc: 0.9412\n",
      "Epoch 724/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1128 - acc: 0.9467 - val_loss: 0.1589 - val_acc: 0.9310\n",
      "Epoch 725/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1082 - acc: 0.9416 - val_loss: 0.1155 - val_acc: 0.9371\n",
      "Epoch 726/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1016 - acc: 0.9512 - val_loss: 0.3059 - val_acc: 0.8783\n",
      "Epoch 727/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1189 - acc: 0.9472 - val_loss: 0.1992 - val_acc: 0.9290\n",
      "Epoch 728/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1472 - acc: 0.945 - 0s - loss: 0.1085 - acc: 0.9472 - val_loss: 0.1009 - val_acc: 0.9574\n",
      "Epoch 729/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1005 - acc: 0.9538 - val_loss: 0.1102 - val_acc: 0.9554\n",
      "Epoch 730/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1099 - acc: 0.9538 - val_loss: 0.1420 - val_acc: 0.9351\n",
      "Epoch 731/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0997 - acc: 0.9518 - val_loss: 0.1205 - val_acc: 0.9391\n",
      "Epoch 732/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0962 - acc: 0.9558 - val_loss: 0.1054 - val_acc: 0.9574\n",
      "Epoch 733/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0943 - acc: 0.9528 - val_loss: 0.1103 - val_acc: 0.9452\n",
      "Epoch 734/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1253 - acc: 0.9360 - val_loss: 0.1159 - val_acc: 0.9452\n",
      "Epoch 735/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1015 - acc: 0.9492 - val_loss: 0.1079 - val_acc: 0.9554\n",
      "Epoch 736/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1039 - acc: 0.9436 - val_loss: 0.0987 - val_acc: 0.9473\n",
      "Epoch 737/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1184 - acc: 0.9340 - val_loss: 0.1329 - val_acc: 0.9351\n",
      "Epoch 738/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1017 - acc: 0.9497 - val_loss: 0.1093 - val_acc: 0.9412\n",
      "Epoch 739/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1130 - acc: 0.9482 - val_loss: 0.1243 - val_acc: 0.9554\n",
      "Epoch 740/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1030 - acc: 0.9502 - val_loss: 0.1041 - val_acc: 0.9432\n",
      "Epoch 741/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1051 - acc: 0.9436 - val_loss: 0.1244 - val_acc: 0.9351\n",
      "Epoch 742/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1034 - acc: 0.9487 - val_loss: 0.1056 - val_acc: 0.9432\n",
      "Epoch 743/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1241 - acc: 0.9380 - val_loss: 0.3121 - val_acc: 0.8824\n",
      "Epoch 744/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1058 - acc: 0.9451 - val_loss: 0.1419 - val_acc: 0.9371\n",
      "Epoch 745/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1090 - acc: 0.9462 - val_loss: 0.1055 - val_acc: 0.9594\n",
      "Epoch 746/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0912 - acc: 0.9599 - val_loss: 0.1281 - val_acc: 0.9290\n",
      "Epoch 747/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1021 - acc: 0.953 - 0s - loss: 0.0977 - acc: 0.9528 - val_loss: 0.1067 - val_acc: 0.9412\n",
      "Epoch 748/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1040 - acc: 0.9502 - val_loss: 0.1234 - val_acc: 0.9351\n",
      "Epoch 749/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0973 - acc: 0.9512 - val_loss: 0.1191 - val_acc: 0.9371\n",
      "Epoch 750/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0977 - acc: 0.9523 - val_loss: 0.1236 - val_acc: 0.9351\n",
      "Epoch 751/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1129 - acc: 0.9462 - val_loss: 0.1662 - val_acc: 0.9290\n",
      "Epoch 752/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1037 - acc: 0.9548 - val_loss: 0.1266 - val_acc: 0.9371\n",
      "Epoch 753/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1219 - acc: 0.9421 - val_loss: 0.1247 - val_acc: 0.9371\n",
      "Epoch 754/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0976 - acc: 0.9512 - val_loss: 0.1018 - val_acc: 0.9432\n",
      "Epoch 755/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1086 - acc: 0.9411 - val_loss: 0.1764 - val_acc: 0.9209\n",
      "Epoch 756/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.1105 - acc: 0.9446 - val_loss: 0.1524 - val_acc: 0.9270\n",
      "Epoch 757/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0997 - acc: 0.9523 - val_loss: 0.1171 - val_acc: 0.9594\n",
      "Epoch 758/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1022 - acc: 0.9533 - val_loss: 0.1437 - val_acc: 0.9331\n",
      "Epoch 759/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0982 - acc: 0.9528 - val_loss: 0.0972 - val_acc: 0.9493\n",
      "Epoch 760/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0993 - acc: 0.9533 - val_loss: 0.1290 - val_acc: 0.9371\n",
      "Epoch 761/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1188 - acc: 0.9441 - val_loss: 0.2199 - val_acc: 0.9229\n",
      "Epoch 762/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1036 - acc: 0.9523 - val_loss: 0.1148 - val_acc: 0.9351\n",
      "Epoch 763/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1085 - acc: 0.9451 - val_loss: 0.1132 - val_acc: 0.9533\n",
      "Epoch 764/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1108 - acc: 0.9487 - val_loss: 0.1100 - val_acc: 0.9452\n",
      "Epoch 765/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0891 - acc: 0.9589 - val_loss: 0.1138 - val_acc: 0.9554\n",
      "Epoch 766/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1074 - acc: 0.9502 - val_loss: 0.1200 - val_acc: 0.9371\n",
      "Epoch 767/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0959 - acc: 0.9553 - val_loss: 0.1082 - val_acc: 0.9473\n",
      "Epoch 768/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0954 - acc: 0.9538 - val_loss: 0.2140 - val_acc: 0.9047\n",
      "Epoch 769/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1118 - acc: 0.9421 - val_loss: 0.0988 - val_acc: 0.9533\n",
      "Epoch 770/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0963 - acc: 0.9512 - val_loss: 0.1264 - val_acc: 0.9412\n",
      "Epoch 771/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1078 - acc: 0.9492 - val_loss: 0.1337 - val_acc: 0.9249\n",
      "Epoch 772/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1039 - acc: 0.9492 - val_loss: 0.1405 - val_acc: 0.9270\n",
      "Epoch 773/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1220 - acc: 0.9441 - val_loss: 0.1296 - val_acc: 0.9493\n",
      "Epoch 774/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1056 - acc: 0.9451 - val_loss: 0.1284 - val_acc: 0.9351\n",
      "Epoch 775/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1111 - acc: 0.9512 - val_loss: 0.1207 - val_acc: 0.9412\n",
      "Epoch 776/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1011 - acc: 0.9512 - val_loss: 0.0950 - val_acc: 0.9594\n",
      "Epoch 777/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0944 - acc: 0.9548 - val_loss: 0.1370 - val_acc: 0.9310\n",
      "Epoch 778/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1032 - acc: 0.9512 - val_loss: 0.1527 - val_acc: 0.9391\n",
      "Epoch 779/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1098 - acc: 0.9497 - val_loss: 0.0976 - val_acc: 0.9594\n",
      "Epoch 780/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1107 - acc: 0.9477 - val_loss: 0.1028 - val_acc: 0.9432\n",
      "Epoch 781/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1049 - acc: 0.9523 - val_loss: 0.1291 - val_acc: 0.9331\n",
      "Epoch 782/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1065 - acc: 0.9502 - val_loss: 0.1318 - val_acc: 0.9493\n",
      "Epoch 783/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1054 - acc: 0.9492 - val_loss: 0.1261 - val_acc: 0.9290\n",
      "Epoch 784/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1058 - acc: 0.9451 - val_loss: 0.1116 - val_acc: 0.9533\n",
      "Epoch 785/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0951 - acc: 0.9487 - val_loss: 0.1312 - val_acc: 0.9331\n",
      "Epoch 786/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1206 - acc: 0.9462 - val_loss: 0.1131 - val_acc: 0.9391\n",
      "Epoch 787/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1167 - acc: 0.9431 - val_loss: 0.1263 - val_acc: 0.9412\n",
      "Epoch 788/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0966 - acc: 0.9528 - val_loss: 0.1276 - val_acc: 0.9371\n",
      "Epoch 789/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1201 - acc: 0.9385 - val_loss: 0.1993 - val_acc: 0.9249\n",
      "Epoch 790/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1113 - acc: 0.9457 - val_loss: 0.2998 - val_acc: 0.8884\n",
      "Epoch 791/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1232 - acc: 0.9426 - val_loss: 0.1350 - val_acc: 0.9351\n",
      "Epoch 792/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0974 - acc: 0.9533 - val_loss: 0.1042 - val_acc: 0.9635\n",
      "Epoch 793/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0957 - acc: 0.9548 - val_loss: 0.1073 - val_acc: 0.9513\n",
      "Epoch 794/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0976 - acc: 0.9457 - val_loss: 0.1076 - val_acc: 0.9574\n",
      "Epoch 795/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0971 - acc: 0.9528 - val_loss: 0.1445 - val_acc: 0.9310\n",
      "Epoch 796/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1124 - acc: 0.9446 - val_loss: 0.0976 - val_acc: 0.9594\n",
      "Epoch 797/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1031 - acc: 0.9497 - val_loss: 0.0959 - val_acc: 0.9574\n",
      "Epoch 798/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1093 - acc: 0.9487 - val_loss: 0.1336 - val_acc: 0.9452\n",
      "Epoch 799/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0936 - acc: 0.9604 - val_loss: 0.1626 - val_acc: 0.9290\n",
      "Epoch 800/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1192 - acc: 0.9370 - val_loss: 0.1292 - val_acc: 0.9331\n",
      "Epoch 801/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0991 - acc: 0.9512 - val_loss: 0.1192 - val_acc: 0.9351\n",
      "Epoch 802/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1139 - acc: 0.9411 - val_loss: 0.1139 - val_acc: 0.9594\n",
      "Epoch 803/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1086 - acc: 0.9482 - val_loss: 0.0970 - val_acc: 0.9594\n",
      "Epoch 804/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1039 - acc: 0.9487 - val_loss: 0.1121 - val_acc: 0.9412\n",
      "Epoch 805/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1046 - acc: 0.9462 - val_loss: 0.1003 - val_acc: 0.9432\n",
      "Epoch 806/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1190 - acc: 0.9416 - val_loss: 0.1062 - val_acc: 0.9594\n",
      "Epoch 807/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1025 - acc: 0.9487 - val_loss: 0.1613 - val_acc: 0.9331\n",
      "Epoch 808/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1188 - acc: 0.9462 - val_loss: 0.1133 - val_acc: 0.9391\n",
      "Epoch 809/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0930 - acc: 0.9523 - val_loss: 0.1053 - val_acc: 0.9432\n",
      "Epoch 810/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1030 - acc: 0.9512 - val_loss: 0.0985 - val_acc: 0.9635\n",
      "Epoch 811/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0977 - acc: 0.9528 - val_loss: 0.1055 - val_acc: 0.9615\n",
      "Epoch 812/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0954 - acc: 0.9492 - val_loss: 0.1113 - val_acc: 0.9513\n",
      "Epoch 813/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0969 - acc: 0.9553 - val_loss: 0.0971 - val_acc: 0.9493\n",
      "Epoch 814/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1250 - acc: 0.9421 - val_loss: 0.1290 - val_acc: 0.9371\n",
      "Epoch 815/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0946 - acc: 0.9563 - val_loss: 0.1332 - val_acc: 0.9310\n",
      "Epoch 816/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1034 - acc: 0.9502 - val_loss: 0.1072 - val_acc: 0.9574\n",
      "Epoch 817/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1044 - acc: 0.9507 - val_loss: 0.1334 - val_acc: 0.9331\n",
      "Epoch 818/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0994 - acc: 0.9472 - val_loss: 0.1117 - val_acc: 0.9554\n",
      "Epoch 819/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0946 - acc: 0.9553 - val_loss: 0.1848 - val_acc: 0.9249\n",
      "Epoch 820/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1080 - acc: 0.9533 - val_loss: 0.0999 - val_acc: 0.9452\n",
      "Epoch 821/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0902 - acc: 0.9563 - val_loss: 0.0966 - val_acc: 0.9493\n",
      "Epoch 822/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0688 - acc: 0.960 - 0s - loss: 0.0930 - acc: 0.9573 - val_loss: 0.1187 - val_acc: 0.9574\n",
      "Epoch 823/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1022 - acc: 0.9507 - val_loss: 0.2140 - val_acc: 0.9148\n",
      "Epoch 824/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1024 - acc: 0.9482 - val_loss: 0.1073 - val_acc: 0.9371\n",
      "Epoch 825/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1059 - acc: 0.9487 - val_loss: 0.1479 - val_acc: 0.9331\n",
      "Epoch 826/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0944 - acc: 0.9558 - val_loss: 0.2091 - val_acc: 0.9229\n",
      "Epoch 827/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1133 - acc: 0.9467 - val_loss: 0.1515 - val_acc: 0.9189\n",
      "Epoch 828/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1174 - acc: 0.9365 - val_loss: 0.1633 - val_acc: 0.9290\n",
      "Epoch 829/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1028 - acc: 0.9533 - val_loss: 0.0958 - val_acc: 0.9574\n",
      "Epoch 830/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0962 - acc: 0.9558 - val_loss: 0.0988 - val_acc: 0.9493\n",
      "Epoch 831/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0980 - acc: 0.9523 - val_loss: 0.1143 - val_acc: 0.9432\n",
      "Epoch 832/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1014 - acc: 0.9497 - val_loss: 0.1113 - val_acc: 0.9452\n",
      "Epoch 833/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1040 - acc: 0.9512 - val_loss: 0.0928 - val_acc: 0.9655\n",
      "Epoch 834/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1115 - acc: 0.9462 - val_loss: 0.1075 - val_acc: 0.9371\n",
      "Epoch 835/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0954 - acc: 0.9558 - val_loss: 0.1021 - val_acc: 0.9574\n",
      "Epoch 836/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0962 - acc: 0.9492 - val_loss: 0.1038 - val_acc: 0.9391\n",
      "Epoch 837/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0940 - acc: 0.9558 - val_loss: 0.1615 - val_acc: 0.9249\n",
      "Epoch 838/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0982 - acc: 0.9467 - val_loss: 0.2117 - val_acc: 0.9229\n",
      "Epoch 839/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1069 - acc: 0.9518 - val_loss: 0.1000 - val_acc: 0.9533\n",
      "Epoch 840/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0944 - acc: 0.9568 - val_loss: 0.0940 - val_acc: 0.9533\n",
      "Epoch 841/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1022 - acc: 0.9507 - val_loss: 0.1358 - val_acc: 0.9290\n",
      "Epoch 842/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1053 - acc: 0.9512 - val_loss: 0.1049 - val_acc: 0.9412\n",
      "Epoch 843/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1086 - acc: 0.9436 - val_loss: 0.1064 - val_acc: 0.9574\n",
      "Epoch 844/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0940 - acc: 0.9548 - val_loss: 0.1044 - val_acc: 0.9594\n",
      "Epoch 845/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1007 - acc: 0.9497 - val_loss: 0.1796 - val_acc: 0.9249\n",
      "Epoch 846/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1256 - acc: 0.9416 - val_loss: 0.1087 - val_acc: 0.9513\n",
      "Epoch 847/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1009 - acc: 0.9512 - val_loss: 0.1091 - val_acc: 0.9533\n",
      "Epoch 848/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0877 - acc: 0.9599 - val_loss: 0.1265 - val_acc: 0.9452\n",
      "Epoch 849/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0964 - acc: 0.9523 - val_loss: 0.1056 - val_acc: 0.9554\n",
      "Epoch 850/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1104 - acc: 0.9487 - val_loss: 0.1085 - val_acc: 0.9412\n",
      "Epoch 851/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0977 - acc: 0.9502 - val_loss: 0.1086 - val_acc: 0.9391\n",
      "Epoch 852/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1011 - acc: 0.9462 - val_loss: 0.0998 - val_acc: 0.9655\n",
      "Epoch 853/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1069 - acc: 0.9533 - val_loss: 0.1049 - val_acc: 0.9533\n",
      "Epoch 854/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1016 - acc: 0.9462 - val_loss: 0.1058 - val_acc: 0.9574\n",
      "Epoch 855/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1027 - acc: 0.9472 - val_loss: 0.1370 - val_acc: 0.9371\n",
      "Epoch 856/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1090 - acc: 0.9497 - val_loss: 0.1397 - val_acc: 0.9391\n",
      "Epoch 857/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0995 - acc: 0.9467 - val_loss: 0.1382 - val_acc: 0.9310\n",
      "Epoch 858/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0976 - acc: 0.9573 - val_loss: 0.1175 - val_acc: 0.9371\n",
      "Epoch 859/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1153 - acc: 0.9436 - val_loss: 0.1052 - val_acc: 0.9574\n",
      "Epoch 860/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0958 - acc: 0.9548 - val_loss: 0.0992 - val_acc: 0.9452\n",
      "Epoch 861/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0954 - acc: 0.9523 - val_loss: 0.1049 - val_acc: 0.9594\n",
      "Epoch 862/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0914 - acc: 0.9502 - val_loss: 0.1098 - val_acc: 0.9574\n",
      "Epoch 863/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0999 - acc: 0.9553 - val_loss: 0.0954 - val_acc: 0.9675\n",
      "Epoch 864/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1061 - acc: 0.9502 - val_loss: 0.1078 - val_acc: 0.9452\n",
      "Epoch 865/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1103 - acc: 0.9462 - val_loss: 0.0952 - val_acc: 0.9635\n",
      "Epoch 866/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1003 - acc: 0.9497 - val_loss: 0.0956 - val_acc: 0.9615\n",
      "Epoch 867/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0980 - acc: 0.9553 - val_loss: 0.1686 - val_acc: 0.9229\n",
      "Epoch 868/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1084 - acc: 0.9472 - val_loss: 0.1129 - val_acc: 0.9452\n",
      "Epoch 869/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1060 - acc: 0.9482 - val_loss: 0.0954 - val_acc: 0.9615\n",
      "Epoch 870/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1100 - acc: 0.9482 - val_loss: 0.0936 - val_acc: 0.9594\n",
      "Epoch 871/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1071 - acc: 0.9462 - val_loss: 0.2600 - val_acc: 0.9006\n",
      "Epoch 872/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1061 - acc: 0.9487 - val_loss: 0.1057 - val_acc: 0.9473\n",
      "Epoch 873/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0894 - acc: 0.9543 - val_loss: 0.0960 - val_acc: 0.9554\n",
      "Epoch 874/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0979 - acc: 0.9528 - val_loss: 0.1506 - val_acc: 0.9351\n",
      "Epoch 875/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1011 - acc: 0.9502 - val_loss: 0.0994 - val_acc: 0.9635\n",
      "Epoch 876/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1027 - acc: 0.9512 - val_loss: 0.1634 - val_acc: 0.9249\n",
      "Epoch 877/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1046 - acc: 0.9462 - val_loss: 0.1095 - val_acc: 0.9412\n",
      "Epoch 878/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1086 - acc: 0.9411 - val_loss: 0.1490 - val_acc: 0.9310\n",
      "Epoch 879/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0966 - acc: 0.9492 - val_loss: 0.1114 - val_acc: 0.9594\n",
      "Epoch 880/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0881 - acc: 0.9578 - val_loss: 0.0989 - val_acc: 0.9594\n",
      "Epoch 881/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0989 - acc: 0.9451 - val_loss: 0.1451 - val_acc: 0.9249\n",
      "Epoch 882/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0915 - acc: 0.9558 - val_loss: 0.1011 - val_acc: 0.9412\n",
      "Epoch 883/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1006 - acc: 0.9512 - val_loss: 0.1562 - val_acc: 0.9351\n",
      "Epoch 884/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1048 - acc: 0.9523 - val_loss: 0.1372 - val_acc: 0.9310\n",
      "Epoch 885/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0935 - acc: 0.9512 - val_loss: 0.1106 - val_acc: 0.9432\n",
      "Epoch 886/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1029 - acc: 0.9548 - val_loss: 0.1497 - val_acc: 0.9331\n",
      "Epoch 887/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1151 - acc: 0.9497 - val_loss: 0.1102 - val_acc: 0.9554\n",
      "Epoch 888/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1112 - acc: 0.9512 - val_loss: 0.0975 - val_acc: 0.9493\n",
      "Epoch 889/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0970 - acc: 0.9543 - val_loss: 0.1145 - val_acc: 0.9371\n",
      "Epoch 890/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1005 - acc: 0.9518 - val_loss: 0.1190 - val_acc: 0.9412\n",
      "Epoch 891/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0925 - acc: 0.9568 - val_loss: 0.1104 - val_acc: 0.9533\n",
      "Epoch 892/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1078 - acc: 0.9487 - val_loss: 0.0925 - val_acc: 0.9554\n",
      "Epoch 893/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1125 - acc: 0.9467 - val_loss: 0.1169 - val_acc: 0.9310\n",
      "Epoch 894/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1049 - acc: 0.9492 - val_loss: 0.1064 - val_acc: 0.9574\n",
      "Epoch 895/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0962 - acc: 0.9507 - val_loss: 0.1771 - val_acc: 0.9189\n",
      "Epoch 896/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1143 - acc: 0.9441 - val_loss: 0.1603 - val_acc: 0.9310\n",
      "Epoch 897/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1003 - acc: 0.9568 - val_loss: 0.0913 - val_acc: 0.9635\n",
      "Epoch 898/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0989 - acc: 0.9543 - val_loss: 0.1958 - val_acc: 0.9270\n",
      "Epoch 899/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1040 - acc: 0.9472 - val_loss: 0.1327 - val_acc: 0.9351\n",
      "Epoch 900/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1115 - acc: 0.9421 - val_loss: 0.1125 - val_acc: 0.9351\n",
      "Epoch 901/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0959 - acc: 0.9533 - val_loss: 0.2425 - val_acc: 0.9026\n",
      "Epoch 902/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1076 - acc: 0.9462 - val_loss: 0.0976 - val_acc: 0.9554\n",
      "Epoch 903/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0906 - acc: 0.9558 - val_loss: 0.1258 - val_acc: 0.9412\n",
      "Epoch 904/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0953 - acc: 0.9523 - val_loss: 0.1346 - val_acc: 0.9432\n",
      "Epoch 905/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0938 - acc: 0.9538 - val_loss: 0.1888 - val_acc: 0.9087\n",
      "Epoch 906/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1034 - acc: 0.9467 - val_loss: 0.0960 - val_acc: 0.9574\n",
      "Epoch 907/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0950 - acc: 0.9558 - val_loss: 0.0992 - val_acc: 0.9473\n",
      "Epoch 908/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1107 - acc: 0.9457 - val_loss: 0.1147 - val_acc: 0.9371\n",
      "Epoch 909/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0989 - acc: 0.9502 - val_loss: 0.0946 - val_acc: 0.9574\n",
      "Epoch 910/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0973 - acc: 0.9507 - val_loss: 0.1468 - val_acc: 0.9331\n",
      "Epoch 911/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1098 - acc: 0.9472 - val_loss: 0.1306 - val_acc: 0.9249\n",
      "Epoch 912/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1005 - acc: 0.9528 - val_loss: 0.1828 - val_acc: 0.9168\n",
      "Epoch 913/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1157 - acc: 0.9431 - val_loss: 0.0897 - val_acc: 0.9615\n",
      "Epoch 914/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0927 - acc: 0.9553 - val_loss: 0.0957 - val_acc: 0.9594\n",
      "Epoch 915/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0959 - acc: 0.9538 - val_loss: 0.1001 - val_acc: 0.9432\n",
      "Epoch 916/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1037 - acc: 0.9533 - val_loss: 0.1003 - val_acc: 0.9554\n",
      "Epoch 917/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0883 - acc: 0.9584 - val_loss: 0.1115 - val_acc: 0.9412\n",
      "Epoch 918/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1026 - acc: 0.9492 - val_loss: 0.1216 - val_acc: 0.9432\n",
      "Epoch 919/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0940 - acc: 0.9538 - val_loss: 0.1109 - val_acc: 0.9391\n",
      "Epoch 920/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1061 - acc: 0.9472 - val_loss: 0.1068 - val_acc: 0.9533\n",
      "Epoch 921/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1018 - acc: 0.9512 - val_loss: 0.1218 - val_acc: 0.9371\n",
      "Epoch 922/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1005 - acc: 0.9543 - val_loss: 0.1131 - val_acc: 0.9331\n",
      "Epoch 923/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0952 - acc: 0.9533 - val_loss: 0.0970 - val_acc: 0.9493\n",
      "Epoch 924/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0852 - acc: 0.9594 - val_loss: 0.1167 - val_acc: 0.9371\n",
      "Epoch 925/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1029 - acc: 0.9512 - val_loss: 0.0983 - val_acc: 0.9696\n",
      "Epoch 926/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0953 - acc: 0.9533 - val_loss: 0.1003 - val_acc: 0.9594\n",
      "Epoch 927/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1020 - acc: 0.9578 - val_loss: 0.1015 - val_acc: 0.9432\n",
      "Epoch 928/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0977 - acc: 0.9558 - val_loss: 0.1303 - val_acc: 0.9371\n",
      "Epoch 929/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0989 - acc: 0.9507 - val_loss: 0.1024 - val_acc: 0.9412\n",
      "Epoch 930/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1009 - acc: 0.9543 - val_loss: 0.1208 - val_acc: 0.9554\n",
      "Epoch 931/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0934 - acc: 0.9548 - val_loss: 0.1314 - val_acc: 0.9391\n",
      "Epoch 932/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0925 - acc: 0.9609 - val_loss: 0.1062 - val_acc: 0.9473\n",
      "Epoch 933/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1123 - acc: 0.9416 - val_loss: 0.1505 - val_acc: 0.9249\n",
      "Epoch 934/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1061 - acc: 0.9487 - val_loss: 0.1066 - val_acc: 0.9533\n",
      "Epoch 935/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1017 - acc: 0.9548 - val_loss: 0.0961 - val_acc: 0.9635\n",
      "Epoch 936/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0923 - acc: 0.9589 - val_loss: 0.0927 - val_acc: 0.9594\n",
      "Epoch 937/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0858 - acc: 0.9568 - val_loss: 0.1110 - val_acc: 0.9533\n",
      "Epoch 938/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0925 - acc: 0.9553 - val_loss: 0.1302 - val_acc: 0.9412\n",
      "Epoch 939/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1046 - acc: 0.9512 - val_loss: 0.1270 - val_acc: 0.9391\n",
      "Epoch 940/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0962 - acc: 0.9589 - val_loss: 0.1369 - val_acc: 0.9290\n",
      "Epoch 941/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0953 - acc: 0.9543 - val_loss: 0.0925 - val_acc: 0.9615\n",
      "Epoch 942/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0955 - acc: 0.9573 - val_loss: 0.1497 - val_acc: 0.9310\n",
      "Epoch 943/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0982 - acc: 0.9502 - val_loss: 0.1073 - val_acc: 0.9574\n",
      "Epoch 944/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0857 - acc: 0.9624 - val_loss: 0.0948 - val_acc: 0.9655\n",
      "Epoch 945/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0930 - acc: 0.9518 - val_loss: 0.1254 - val_acc: 0.9331\n",
      "Epoch 946/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1098 - acc: 0.9462 - val_loss: 0.1136 - val_acc: 0.9513\n",
      "Epoch 947/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0953 - acc: 0.9573 - val_loss: 0.1132 - val_acc: 0.9473\n",
      "Epoch 948/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1016 - acc: 0.9497 - val_loss: 0.1135 - val_acc: 0.9391\n",
      "Epoch 949/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0970 - acc: 0.9538 - val_loss: 0.0954 - val_acc: 0.9513\n",
      "Epoch 950/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0958 - acc: 0.9538 - val_loss: 0.1379 - val_acc: 0.9351\n",
      "Epoch 951/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0999 - acc: 0.9518 - val_loss: 0.1162 - val_acc: 0.9391\n",
      "Epoch 952/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1184 - acc: 0.9477 - val_loss: 0.1026 - val_acc: 0.9391\n",
      "Epoch 953/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1024 - acc: 0.9502 - val_loss: 0.1050 - val_acc: 0.9594\n",
      "Epoch 954/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1030 - acc: 0.9533 - val_loss: 0.1735 - val_acc: 0.9310\n",
      "Epoch 955/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0963 - acc: 0.9568 - val_loss: 0.1280 - val_acc: 0.9371\n",
      "Epoch 956/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1184 - acc: 0.9462 - val_loss: 0.0945 - val_acc: 0.9615\n",
      "Epoch 957/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0980 - acc: 0.9502 - val_loss: 0.1033 - val_acc: 0.9473\n",
      "Epoch 958/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1064 - acc: 0.9523 - val_loss: 0.1102 - val_acc: 0.9554\n",
      "Epoch 959/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0909 - acc: 0.9553 - val_loss: 0.1123 - val_acc: 0.9371\n",
      "Epoch 960/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1074 - acc: 0.9492 - val_loss: 0.0982 - val_acc: 0.9615\n",
      "Epoch 961/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0946 - acc: 0.9533 - val_loss: 0.1003 - val_acc: 0.9615\n",
      "Epoch 962/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0690 - acc: 0.976 - 0s - loss: 0.0922 - acc: 0.9568 - val_loss: 0.1819 - val_acc: 0.9229\n",
      "Epoch 963/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1140 - acc: 0.9441 - val_loss: 0.1460 - val_acc: 0.9310\n",
      "Epoch 964/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1023 - acc: 0.9512 - val_loss: 0.1173 - val_acc: 0.9452\n",
      "Epoch 965/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0936 - acc: 0.9518 - val_loss: 0.1394 - val_acc: 0.9168\n",
      "Epoch 966/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0947 - acc: 0.9568 - val_loss: 0.2865 - val_acc: 0.9026\n",
      "Epoch 967/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1121 - acc: 0.9467 - val_loss: 0.1111 - val_acc: 0.9533\n",
      "Epoch 968/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0947 - acc: 0.9543 - val_loss: 0.1260 - val_acc: 0.9452\n",
      "Epoch 969/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0968 - acc: 0.9533 - val_loss: 0.1425 - val_acc: 0.9331\n",
      "Epoch 970/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0934 - acc: 0.9563 - val_loss: 0.2167 - val_acc: 0.9209\n",
      "Epoch 971/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1096 - acc: 0.9487 - val_loss: 0.1314 - val_acc: 0.9452\n",
      "Epoch 972/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0966 - acc: 0.9512 - val_loss: 0.1576 - val_acc: 0.9229\n",
      "Epoch 973/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1018 - acc: 0.9497 - val_loss: 0.1037 - val_acc: 0.9615\n",
      "Epoch 974/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1081 - acc: 0.9446 - val_loss: 0.1150 - val_acc: 0.9473\n",
      "Epoch 975/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0944 - acc: 0.9512 - val_loss: 0.1167 - val_acc: 0.9371\n",
      "Epoch 976/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0963 - acc: 0.9528 - val_loss: 0.1071 - val_acc: 0.9391\n",
      "Epoch 977/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0849 - acc: 0.9589 - val_loss: 0.3793 - val_acc: 0.8925\n",
      "Epoch 978/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1180 - acc: 0.9492 - val_loss: 0.1375 - val_acc: 0.9432\n",
      "Epoch 979/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0938 - acc: 0.9573 - val_loss: 0.0965 - val_acc: 0.9635\n",
      "Epoch 980/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1027 - acc: 0.9553 - val_loss: 0.0969 - val_acc: 0.9574\n",
      "Epoch 981/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0942 - acc: 0.9563 - val_loss: 0.1038 - val_acc: 0.9594\n",
      "Epoch 982/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0933 - acc: 0.9518 - val_loss: 0.0974 - val_acc: 0.9675\n",
      "Epoch 983/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0934 - acc: 0.9533 - val_loss: 0.1139 - val_acc: 0.9493\n",
      "Epoch 984/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0929 - acc: 0.9573 - val_loss: 0.1345 - val_acc: 0.9371\n",
      "Epoch 985/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.2257 - acc: 0.890 - 0s - loss: 0.0953 - acc: 0.9573 - val_loss: 0.1265 - val_acc: 0.9432\n",
      "Epoch 986/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1002 - acc: 0.9558 - val_loss: 0.1188 - val_acc: 0.9351\n",
      "Epoch 987/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0966 - acc: 0.9512 - val_loss: 0.1270 - val_acc: 0.9432\n",
      "Epoch 988/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1035 - acc: 0.9492 - val_loss: 0.1806 - val_acc: 0.9249\n",
      "Epoch 989/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0925 - acc: 0.9558 - val_loss: 0.1373 - val_acc: 0.9351\n",
      "Epoch 990/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0962 - acc: 0.9568 - val_loss: 0.1470 - val_acc: 0.9351\n",
      "Epoch 991/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0982 - acc: 0.9548 - val_loss: 0.0950 - val_acc: 0.9594\n",
      "Epoch 992/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0865 - acc: 0.9584 - val_loss: 0.0937 - val_acc: 0.9615\n",
      "Epoch 993/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0948 - acc: 0.9573 - val_loss: 0.1028 - val_acc: 0.9391\n",
      "Epoch 994/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0934 - acc: 0.9497 - val_loss: 0.1620 - val_acc: 0.9249\n",
      "Epoch 995/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1035 - acc: 0.9497 - val_loss: 0.1263 - val_acc: 0.9351\n",
      "Epoch 996/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1067 - acc: 0.9482 - val_loss: 0.1821 - val_acc: 0.9270\n",
      "Epoch 997/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0898 - acc: 0.9584 - val_loss: 0.1069 - val_acc: 0.9391\n",
      "Epoch 998/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0963 - acc: 0.9563 - val_loss: 0.1181 - val_acc: 0.9473\n",
      "Epoch 999/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1032 - acc: 0.9492 - val_loss: 0.1501 - val_acc: 0.9331\n",
      "Epoch 1000/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0910 - acc: 0.9558 - val_loss: 0.1098 - val_acc: 0.9391\n",
      "Epoch 1001/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0984 - acc: 0.9558 - val_loss: 0.1545 - val_acc: 0.9270\n",
      "Epoch 1002/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0990 - acc: 0.9553 - val_loss: 0.0920 - val_acc: 0.9615\n",
      "Epoch 1003/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0902 - acc: 0.9543 - val_loss: 0.1848 - val_acc: 0.9310\n",
      "Epoch 1004/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0975 - acc: 0.9533 - val_loss: 0.1155 - val_acc: 0.9574\n",
      "Epoch 1005/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0904 - acc: 0.9604 - val_loss: 0.1108 - val_acc: 0.9351\n",
      "Epoch 1006/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1016 - acc: 0.9548 - val_loss: 0.0987 - val_acc: 0.9635\n",
      "Epoch 1007/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0994 - acc: 0.9523 - val_loss: 0.1100 - val_acc: 0.9513\n",
      "Epoch 1008/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0932 - acc: 0.9533 - val_loss: 0.2094 - val_acc: 0.9209\n",
      "Epoch 1009/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1103 - acc: 0.9512 - val_loss: 0.1002 - val_acc: 0.9432\n",
      "Epoch 1010/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0993 - acc: 0.9553 - val_loss: 0.1935 - val_acc: 0.9229\n",
      "Epoch 1011/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1103 - acc: 0.9467 - val_loss: 0.0948 - val_acc: 0.9615\n",
      "Epoch 1012/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0911 - acc: 0.9614 - val_loss: 0.0937 - val_acc: 0.9533\n",
      "Epoch 1013/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0979 - acc: 0.9467 - val_loss: 0.0971 - val_acc: 0.9493\n",
      "Epoch 1014/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1091 - acc: 0.9487 - val_loss: 0.1087 - val_acc: 0.9574\n",
      "Epoch 1015/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1025 - acc: 0.9548 - val_loss: 0.1616 - val_acc: 0.9249\n",
      "Epoch 1016/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0969 - acc: 0.9589 - val_loss: 0.1050 - val_acc: 0.9594\n",
      "Epoch 1017/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0964 - acc: 0.9523 - val_loss: 0.1146 - val_acc: 0.9452\n",
      "Epoch 1018/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0953 - acc: 0.9578 - val_loss: 0.0922 - val_acc: 0.9554\n",
      "Epoch 1019/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0846 - acc: 0.9634 - val_loss: 0.1208 - val_acc: 0.9371\n",
      "Epoch 1020/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1013 - acc: 0.9512 - val_loss: 0.0916 - val_acc: 0.9594\n",
      "Epoch 1021/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1102 - acc: 0.9492 - val_loss: 0.1750 - val_acc: 0.9270\n",
      "Epoch 1022/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1093 - acc: 0.9502 - val_loss: 0.1013 - val_acc: 0.9473\n",
      "Epoch 1023/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0939 - acc: 0.9568 - val_loss: 0.1105 - val_acc: 0.9473\n",
      "Epoch 1024/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0971 - acc: 0.9533 - val_loss: 0.1256 - val_acc: 0.9513\n",
      "Epoch 1025/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0960 - acc: 0.9558 - val_loss: 0.1027 - val_acc: 0.9574\n",
      "Epoch 1026/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0954 - acc: 0.9558 - val_loss: 0.1443 - val_acc: 0.9189\n",
      "Epoch 1027/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1082 - acc: 0.9487 - val_loss: 0.0991 - val_acc: 0.9635\n",
      "Epoch 1028/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1035 - acc: 0.9558 - val_loss: 0.0963 - val_acc: 0.9574\n",
      "Epoch 1029/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1076 - acc: 0.9528 - val_loss: 0.1054 - val_acc: 0.9533\n",
      "Epoch 1030/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0963 - acc: 0.9518 - val_loss: 0.0945 - val_acc: 0.9635\n",
      "Epoch 1031/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0888 - acc: 0.9573 - val_loss: 0.0924 - val_acc: 0.9594\n",
      "Epoch 1032/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0976 - acc: 0.9538 - val_loss: 0.0918 - val_acc: 0.9615\n",
      "Epoch 1033/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0905 - acc: 0.9553 - val_loss: 0.1021 - val_acc: 0.9533\n",
      "Epoch 1034/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0967 - acc: 0.9492 - val_loss: 0.0987 - val_acc: 0.9635\n",
      "Epoch 1035/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1045 - acc: 0.9487 - val_loss: 0.0998 - val_acc: 0.9594\n",
      "Epoch 1036/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1120 - acc: 0.9518 - val_loss: 0.0989 - val_acc: 0.9432\n",
      "Epoch 1037/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0977 - acc: 0.9533 - val_loss: 0.0929 - val_acc: 0.9594\n",
      "Epoch 1038/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0998 - acc: 0.9523 - val_loss: 0.1226 - val_acc: 0.9533\n",
      "Epoch 1039/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1031 - acc: 0.9548 - val_loss: 0.1381 - val_acc: 0.9412\n",
      "Epoch 1040/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0910 - acc: 0.9594 - val_loss: 0.0977 - val_acc: 0.9513\n",
      "Epoch 1041/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1010 - acc: 0.9502 - val_loss: 0.1013 - val_acc: 0.9615\n",
      "Epoch 1042/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0973 - acc: 0.9538 - val_loss: 0.1583 - val_acc: 0.9391\n",
      "Epoch 1043/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0982 - acc: 0.9518 - val_loss: 0.1505 - val_acc: 0.9310\n",
      "Epoch 1044/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1012 - acc: 0.9482 - val_loss: 0.1342 - val_acc: 0.9229\n",
      "Epoch 1045/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0980 - acc: 0.9512 - val_loss: 0.0952 - val_acc: 0.9655\n",
      "Epoch 1046/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0921 - acc: 0.9558 - val_loss: 0.1066 - val_acc: 0.9473\n",
      "Epoch 1047/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0978 - acc: 0.9543 - val_loss: 0.1401 - val_acc: 0.9331\n",
      "Epoch 1048/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0945 - acc: 0.9492 - val_loss: 0.1976 - val_acc: 0.9209\n",
      "Epoch 1049/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0990 - acc: 0.9584 - val_loss: 0.1237 - val_acc: 0.9452\n",
      "Epoch 1050/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0983 - acc: 0.9558 - val_loss: 0.1677 - val_acc: 0.9290\n",
      "Epoch 1051/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1056 - acc: 0.9502 - val_loss: 0.1398 - val_acc: 0.9310\n",
      "Epoch 1052/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0977 - acc: 0.9497 - val_loss: 0.1842 - val_acc: 0.9249\n",
      "Epoch 1053/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1006 - acc: 0.9523 - val_loss: 0.0961 - val_acc: 0.9452\n",
      "Epoch 1054/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0986 - acc: 0.9533 - val_loss: 0.0968 - val_acc: 0.9675\n",
      "Epoch 1055/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0958 - acc: 0.9543 - val_loss: 0.1216 - val_acc: 0.9371\n",
      "Epoch 1056/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0921 - acc: 0.9553 - val_loss: 0.0977 - val_acc: 0.9473\n",
      "Epoch 1057/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1030 - acc: 0.9472 - val_loss: 0.1162 - val_acc: 0.9452\n",
      "Epoch 1058/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1115 - acc: 0.9431 - val_loss: 0.2847 - val_acc: 0.9189\n",
      "Epoch 1059/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1120 - acc: 0.9523 - val_loss: 0.3024 - val_acc: 0.9047\n",
      "Epoch 1060/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1072 - acc: 0.9538 - val_loss: 0.1153 - val_acc: 0.9432\n",
      "Epoch 1061/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1030 - acc: 0.9492 - val_loss: 0.1085 - val_acc: 0.9432\n",
      "Epoch 1062/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0969 - acc: 0.9502 - val_loss: 0.1128 - val_acc: 0.9554\n",
      "Epoch 1063/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0904 - acc: 0.9538 - val_loss: 0.1611 - val_acc: 0.9270\n",
      "Epoch 1064/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1011 - acc: 0.9497 - val_loss: 0.0951 - val_acc: 0.9635\n",
      "Epoch 1065/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0893 - acc: 0.9523 - val_loss: 0.1248 - val_acc: 0.9351\n",
      "Epoch 1066/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0902 - acc: 0.9563 - val_loss: 0.1679 - val_acc: 0.9270\n",
      "Epoch 1067/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0913 - acc: 0.9507 - val_loss: 0.2058 - val_acc: 0.9209\n",
      "Epoch 1068/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1046 - acc: 0.9492 - val_loss: 0.1062 - val_acc: 0.9432\n",
      "Epoch 1069/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1003 - acc: 0.9538 - val_loss: 0.1148 - val_acc: 0.9391\n",
      "Epoch 1070/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0891 - acc: 0.9609 - val_loss: 0.1694 - val_acc: 0.9290\n",
      "Epoch 1071/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1075 - acc: 0.9426 - val_loss: 0.1140 - val_acc: 0.9554\n",
      "Epoch 1072/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0956 - acc: 0.9558 - val_loss: 0.1747 - val_acc: 0.9270\n",
      "Epoch 1073/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0944 - acc: 0.9538 - val_loss: 0.0905 - val_acc: 0.9594\n",
      "Epoch 1074/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0984 - acc: 0.9538 - val_loss: 0.1218 - val_acc: 0.9493\n",
      "Epoch 1075/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0955 - acc: 0.956 - 0s - loss: 0.0946 - acc: 0.9563 - val_loss: 0.0983 - val_acc: 0.9554\n",
      "Epoch 1076/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0969 - acc: 0.9507 - val_loss: 0.1370 - val_acc: 0.9351\n",
      "Epoch 1077/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0875 - acc: 0.9553 - val_loss: 0.0974 - val_acc: 0.9452\n",
      "Epoch 1078/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0925 - acc: 0.9538 - val_loss: 0.0878 - val_acc: 0.9635\n",
      "Epoch 1079/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0911 - acc: 0.9604 - val_loss: 0.1127 - val_acc: 0.9432\n",
      "Epoch 1080/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0933 - acc: 0.9563 - val_loss: 0.1213 - val_acc: 0.9391\n",
      "Epoch 1081/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0993 - acc: 0.9512 - val_loss: 0.1011 - val_acc: 0.9615\n",
      "Epoch 1082/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0843 - acc: 0.9624 - val_loss: 0.1185 - val_acc: 0.9371\n",
      "Epoch 1083/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1017 - acc: 0.9492 - val_loss: 0.0898 - val_acc: 0.9594\n",
      "Epoch 1084/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0999 - acc: 0.9472 - val_loss: 0.1095 - val_acc: 0.9452\n",
      "Epoch 1085/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0910 - acc: 0.9543 - val_loss: 0.1226 - val_acc: 0.9351\n",
      "Epoch 1086/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0995 - acc: 0.9563 - val_loss: 0.0906 - val_acc: 0.9574\n",
      "Epoch 1087/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0855 - acc: 0.9563 - val_loss: 0.1143 - val_acc: 0.9533\n",
      "Epoch 1088/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1119 - acc: 0.9518 - val_loss: 0.1198 - val_acc: 0.9473\n",
      "Epoch 1089/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1057 - acc: 0.9497 - val_loss: 0.0995 - val_acc: 0.9452\n",
      "Epoch 1090/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0951 - acc: 0.9533 - val_loss: 0.0955 - val_acc: 0.9615\n",
      "Epoch 1091/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0977 - acc: 0.9523 - val_loss: 0.1261 - val_acc: 0.9493\n",
      "Epoch 1092/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0902 - acc: 0.9563 - val_loss: 0.1308 - val_acc: 0.9351\n",
      "Epoch 1093/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0912 - acc: 0.9548 - val_loss: 0.1230 - val_acc: 0.9331\n",
      "Epoch 1094/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0890 - acc: 0.9563 - val_loss: 0.1355 - val_acc: 0.9351\n",
      "Epoch 1095/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1006 - acc: 0.9543 - val_loss: 0.1110 - val_acc: 0.9412\n",
      "Epoch 1096/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1151 - acc: 0.9441 - val_loss: 0.1004 - val_acc: 0.9533\n",
      "Epoch 1097/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0990 - acc: 0.9487 - val_loss: 0.0973 - val_acc: 0.9615\n",
      "Epoch 1098/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0998 - acc: 0.9457 - val_loss: 0.1297 - val_acc: 0.9391\n",
      "Epoch 1099/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0877 - acc: 0.9599 - val_loss: 0.1325 - val_acc: 0.9270\n",
      "Epoch 1100/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1071 - acc: 0.9497 - val_loss: 0.1758 - val_acc: 0.9290\n",
      "Epoch 1101/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1093 - acc: 0.9497 - val_loss: 0.1181 - val_acc: 0.9371\n",
      "Epoch 1102/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0868 - acc: 0.9584 - val_loss: 0.1651 - val_acc: 0.9249\n",
      "Epoch 1103/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1072 - acc: 0.9507 - val_loss: 0.0918 - val_acc: 0.9635\n",
      "Epoch 1104/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0918 - acc: 0.9553 - val_loss: 0.1881 - val_acc: 0.9290\n",
      "Epoch 1105/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0866 - acc: 0.9578 - val_loss: 0.0951 - val_acc: 0.9574\n",
      "Epoch 1106/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0944 - acc: 0.9518 - val_loss: 0.1264 - val_acc: 0.9412\n",
      "Epoch 1107/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0968 - acc: 0.9528 - val_loss: 0.1371 - val_acc: 0.9331\n",
      "Epoch 1108/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1036 - acc: 0.9457 - val_loss: 0.1217 - val_acc: 0.9513\n",
      "Epoch 1109/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0996 - acc: 0.9523 - val_loss: 0.1341 - val_acc: 0.9229\n",
      "Epoch 1110/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0915 - acc: 0.9538 - val_loss: 0.3852 - val_acc: 0.8783\n",
      "Epoch 1111/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1195 - acc: 0.9497 - val_loss: 0.1021 - val_acc: 0.9493\n",
      "Epoch 1112/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0849 - acc: 0.9538 - val_loss: 0.0906 - val_acc: 0.9574\n",
      "Epoch 1113/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0831 - acc: 0.9609 - val_loss: 0.0943 - val_acc: 0.9554\n",
      "Epoch 1114/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0889 - acc: 0.9538 - val_loss: 0.0920 - val_acc: 0.9655\n",
      "Epoch 1115/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1119 - acc: 0.9436 - val_loss: 0.0934 - val_acc: 0.9513\n",
      "Epoch 1116/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0885 - acc: 0.9563 - val_loss: 0.2346 - val_acc: 0.9128\n",
      "Epoch 1117/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0991 - acc: 0.9533 - val_loss: 0.0963 - val_acc: 0.9432\n",
      "Epoch 1118/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0882 - acc: 0.9589 - val_loss: 0.1290 - val_acc: 0.9432\n",
      "Epoch 1119/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0881 - acc: 0.9553 - val_loss: 0.1013 - val_acc: 0.9432\n",
      "Epoch 1120/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0958 - acc: 0.9558 - val_loss: 0.1299 - val_acc: 0.9371\n",
      "Epoch 1121/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0999 - acc: 0.9553 - val_loss: 0.1170 - val_acc: 0.9371\n",
      "Epoch 1122/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0933 - acc: 0.9563 - val_loss: 0.1011 - val_acc: 0.9452\n",
      "Epoch 1123/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0844 - acc: 0.9599 - val_loss: 0.1313 - val_acc: 0.9371\n",
      "Epoch 1124/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0884 - acc: 0.9619 - val_loss: 0.0939 - val_acc: 0.9594\n",
      "Epoch 1125/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0957 - acc: 0.9467 - val_loss: 0.1841 - val_acc: 0.9249\n",
      "Epoch 1126/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1040 - acc: 0.9482 - val_loss: 0.1717 - val_acc: 0.9290\n",
      "Epoch 1127/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0970 - acc: 0.9528 - val_loss: 0.0937 - val_acc: 0.9594\n",
      "Epoch 1128/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0969 - acc: 0.9523 - val_loss: 0.1137 - val_acc: 0.9473\n",
      "Epoch 1129/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0923 - acc: 0.9543 - val_loss: 0.1379 - val_acc: 0.9310\n",
      "Epoch 1130/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0985 - acc: 0.9523 - val_loss: 0.1295 - val_acc: 0.9351\n",
      "Epoch 1131/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0936 - acc: 0.9553 - val_loss: 0.0957 - val_acc: 0.9473\n",
      "Epoch 1132/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0908 - acc: 0.9563 - val_loss: 0.1279 - val_acc: 0.9351\n",
      "Epoch 1133/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0969 - acc: 0.9614 - val_loss: 0.1182 - val_acc: 0.9473\n",
      "Epoch 1134/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0902 - acc: 0.9523 - val_loss: 0.1057 - val_acc: 0.9473\n",
      "Epoch 1135/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1093 - acc: 0.9431 - val_loss: 0.1114 - val_acc: 0.9554\n",
      "Epoch 1136/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0899 - acc: 0.9568 - val_loss: 0.0969 - val_acc: 0.9513\n",
      "Epoch 1137/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0987 - acc: 0.9512 - val_loss: 0.0959 - val_acc: 0.9615\n",
      "Epoch 1138/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0914 - acc: 0.9589 - val_loss: 0.1931 - val_acc: 0.9310\n",
      "Epoch 1139/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1040 - acc: 0.9538 - val_loss: 0.0926 - val_acc: 0.9675\n",
      "Epoch 1140/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0956 - acc: 0.9538 - val_loss: 0.1393 - val_acc: 0.9310\n",
      "Epoch 1141/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1019 - acc: 0.9533 - val_loss: 0.1132 - val_acc: 0.9412\n",
      "Epoch 1142/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0955 - acc: 0.9548 - val_loss: 0.0895 - val_acc: 0.9615\n",
      "Epoch 1143/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0874 - acc: 0.9599 - val_loss: 0.1126 - val_acc: 0.9432\n",
      "Epoch 1144/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0927 - acc: 0.9553 - val_loss: 0.0978 - val_acc: 0.9574\n",
      "Epoch 1145/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0962 - acc: 0.9553 - val_loss: 0.1171 - val_acc: 0.9412\n",
      "Epoch 1146/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1038 - acc: 0.9477 - val_loss: 0.0923 - val_acc: 0.9594\n",
      "Epoch 1147/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1008 - acc: 0.9502 - val_loss: 0.1003 - val_acc: 0.9452\n",
      "Epoch 1148/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0913 - acc: 0.9584 - val_loss: 0.1212 - val_acc: 0.9310\n",
      "Epoch 1149/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0971 - acc: 0.9538 - val_loss: 0.1385 - val_acc: 0.9310\n",
      "Epoch 1150/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0909 - acc: 0.9558 - val_loss: 0.0988 - val_acc: 0.9473\n",
      "Epoch 1151/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0919 - acc: 0.9614 - val_loss: 0.1323 - val_acc: 0.9351\n",
      "Epoch 1152/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0975 - acc: 0.9528 - val_loss: 0.0926 - val_acc: 0.9655\n",
      "Epoch 1153/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0907 - acc: 0.9578 - val_loss: 0.0971 - val_acc: 0.9574\n",
      "Epoch 1154/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1060 - acc: 0.9518 - val_loss: 0.0961 - val_acc: 0.9473\n",
      "Epoch 1155/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1114 - acc: 0.9477 - val_loss: 0.1064 - val_acc: 0.9493\n",
      "Epoch 1156/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0918 - acc: 0.9599 - val_loss: 0.1328 - val_acc: 0.9310\n",
      "Epoch 1157/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0903 - acc: 0.9568 - val_loss: 0.2307 - val_acc: 0.9209\n",
      "Epoch 1158/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1116 - acc: 0.9492 - val_loss: 0.1418 - val_acc: 0.9331\n",
      "Epoch 1159/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0886 - acc: 0.9589 - val_loss: 0.0904 - val_acc: 0.9655\n",
      "Epoch 1160/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0920 - acc: 0.9563 - val_loss: 0.1020 - val_acc: 0.9533\n",
      "Epoch 1161/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0870 - acc: 0.9578 - val_loss: 0.1626 - val_acc: 0.9270\n",
      "Epoch 1162/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0911 - acc: 0.9543 - val_loss: 0.1156 - val_acc: 0.9533\n",
      "Epoch 1163/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0943 - acc: 0.9553 - val_loss: 0.1062 - val_acc: 0.9513\n",
      "Epoch 1164/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0960 - acc: 0.9528 - val_loss: 0.1000 - val_acc: 0.9432\n",
      "Epoch 1165/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0859 - acc: 0.9584 - val_loss: 0.1052 - val_acc: 0.9594\n",
      "Epoch 1166/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0977 - acc: 0.9543 - val_loss: 0.1235 - val_acc: 0.9391\n",
      "Epoch 1167/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0872 - acc: 0.9523 - val_loss: 0.1044 - val_acc: 0.9554\n",
      "Epoch 1168/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0891 - acc: 0.9548 - val_loss: 0.0942 - val_acc: 0.9615\n",
      "Epoch 1169/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0926 - acc: 0.9614 - val_loss: 0.0944 - val_acc: 0.9594\n",
      "Epoch 1170/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0811 - acc: 0.9604 - val_loss: 0.1118 - val_acc: 0.9533\n",
      "Epoch 1171/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1051 - acc: 0.9502 - val_loss: 0.1227 - val_acc: 0.9473\n",
      "Epoch 1172/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0945 - acc: 0.9548 - val_loss: 0.1326 - val_acc: 0.9351\n",
      "Epoch 1173/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0970 - acc: 0.9518 - val_loss: 0.1494 - val_acc: 0.9290\n",
      "Epoch 1174/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0935 - acc: 0.9568 - val_loss: 0.0929 - val_acc: 0.9513\n",
      "Epoch 1175/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0891 - acc: 0.9568 - val_loss: 0.0924 - val_acc: 0.9675\n",
      "Epoch 1176/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0946 - acc: 0.9507 - val_loss: 0.1145 - val_acc: 0.9391\n",
      "Epoch 1177/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0897 - acc: 0.9563 - val_loss: 0.1049 - val_acc: 0.9452\n",
      "Epoch 1178/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0990 - acc: 0.9523 - val_loss: 0.1406 - val_acc: 0.9432\n",
      "Epoch 1179/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0981 - acc: 0.9533 - val_loss: 0.1167 - val_acc: 0.9391\n",
      "Epoch 1180/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1201 - acc: 0.9441 - val_loss: 0.1202 - val_acc: 0.9452\n",
      "Epoch 1181/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0959 - acc: 0.9518 - val_loss: 0.2190 - val_acc: 0.9209\n",
      "Epoch 1182/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0986 - acc: 0.9548 - val_loss: 0.1393 - val_acc: 0.9310\n",
      "Epoch 1183/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0920 - acc: 0.9558 - val_loss: 0.1047 - val_acc: 0.9594\n",
      "Epoch 1184/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0925 - acc: 0.9568 - val_loss: 0.1592 - val_acc: 0.9270\n",
      "Epoch 1185/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0868 - acc: 0.9578 - val_loss: 0.0896 - val_acc: 0.9554\n",
      "Epoch 1186/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0910 - acc: 0.9558 - val_loss: 0.1174 - val_acc: 0.9331\n",
      "Epoch 1187/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1028 - acc: 0.9507 - val_loss: 0.0916 - val_acc: 0.9574\n",
      "Epoch 1188/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0898 - acc: 0.9573 - val_loss: 0.1513 - val_acc: 0.9290\n",
      "Epoch 1189/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0914 - acc: 0.9558 - val_loss: 0.1098 - val_acc: 0.9432\n",
      "Epoch 1190/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0934 - acc: 0.9507 - val_loss: 0.1077 - val_acc: 0.9452\n",
      "Epoch 1191/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1030 - acc: 0.9507 - val_loss: 0.1314 - val_acc: 0.9391\n",
      "Epoch 1192/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0953 - acc: 0.9609 - val_loss: 0.0963 - val_acc: 0.9574\n",
      "Epoch 1193/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0984 - acc: 0.9507 - val_loss: 0.1337 - val_acc: 0.9371\n",
      "Epoch 1194/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1021 - acc: 0.9543 - val_loss: 0.0971 - val_acc: 0.9554\n",
      "Epoch 1195/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0921 - acc: 0.9533 - val_loss: 0.1349 - val_acc: 0.9351\n",
      "Epoch 1196/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1081 - acc: 0.9528 - val_loss: 0.0996 - val_acc: 0.9635\n",
      "Epoch 1197/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0891 - acc: 0.9584 - val_loss: 0.0984 - val_acc: 0.9594\n",
      "Epoch 1198/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0857 - acc: 0.9594 - val_loss: 0.0953 - val_acc: 0.9493\n",
      "Epoch 1199/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0946 - acc: 0.9523 - val_loss: 0.0940 - val_acc: 0.9533\n",
      "Epoch 1200/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0905 - acc: 0.9543 - val_loss: 0.0884 - val_acc: 0.9594\n",
      "Epoch 1201/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0952 - acc: 0.9533 - val_loss: 0.0859 - val_acc: 0.9615\n",
      "Epoch 1202/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0841 - acc: 0.9584 - val_loss: 0.1713 - val_acc: 0.9249\n",
      "Epoch 1203/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0912 - acc: 0.9523 - val_loss: 0.0874 - val_acc: 0.9635\n",
      "Epoch 1204/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0820 - acc: 0.9609 - val_loss: 0.0950 - val_acc: 0.9493\n",
      "Epoch 1205/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0937 - acc: 0.9538 - val_loss: 0.1284 - val_acc: 0.9371\n",
      "Epoch 1206/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1005 - acc: 0.9518 - val_loss: 0.1115 - val_acc: 0.9371\n",
      "Epoch 1207/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0827 - acc: 0.9599 - val_loss: 0.1227 - val_acc: 0.9391\n",
      "Epoch 1208/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0843 - acc: 0.9624 - val_loss: 0.2010 - val_acc: 0.9168\n",
      "Epoch 1209/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1081 - acc: 0.9462 - val_loss: 0.0904 - val_acc: 0.9615\n",
      "Epoch 1210/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0927 - acc: 0.9573 - val_loss: 0.1238 - val_acc: 0.9432\n",
      "Epoch 1211/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0935 - acc: 0.9589 - val_loss: 0.1288 - val_acc: 0.9412\n",
      "Epoch 1212/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0972 - acc: 0.9523 - val_loss: 0.1477 - val_acc: 0.9391\n",
      "Epoch 1213/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0933 - acc: 0.9563 - val_loss: 0.0992 - val_acc: 0.9574\n",
      "Epoch 1214/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1019 - acc: 0.9497 - val_loss: 0.1147 - val_acc: 0.9574\n",
      "Epoch 1215/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1016 - acc: 0.9472 - val_loss: 0.0948 - val_acc: 0.9635\n",
      "Epoch 1216/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0949 - acc: 0.9578 - val_loss: 0.1250 - val_acc: 0.9371\n",
      "Epoch 1217/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0842 - acc: 0.9614 - val_loss: 0.0955 - val_acc: 0.9452\n",
      "Epoch 1218/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0847 - acc: 0.9594 - val_loss: 0.0965 - val_acc: 0.9452\n",
      "Epoch 1219/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0970 - acc: 0.9538 - val_loss: 0.1408 - val_acc: 0.9351\n",
      "Epoch 1220/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0940 - acc: 0.9573 - val_loss: 0.0968 - val_acc: 0.9554\n",
      "Epoch 1221/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0908 - acc: 0.9589 - val_loss: 0.1070 - val_acc: 0.9594\n",
      "Epoch 1222/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0866 - acc: 0.9573 - val_loss: 0.1343 - val_acc: 0.9351\n",
      "Epoch 1223/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1034 - acc: 0.9548 - val_loss: 0.0925 - val_acc: 0.9615\n",
      "Epoch 1224/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0937 - acc: 0.9533 - val_loss: 0.1402 - val_acc: 0.9412\n",
      "Epoch 1225/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0911 - acc: 0.9584 - val_loss: 0.1038 - val_acc: 0.9615\n",
      "Epoch 1226/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0888 - acc: 0.9573 - val_loss: 0.1980 - val_acc: 0.9209\n",
      "Epoch 1227/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0976 - acc: 0.9507 - val_loss: 0.1825 - val_acc: 0.9249\n",
      "Epoch 1228/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1039 - acc: 0.9507 - val_loss: 0.0937 - val_acc: 0.9655\n",
      "Epoch 1229/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1095 - acc: 0.9507 - val_loss: 0.0933 - val_acc: 0.9615\n",
      "Epoch 1230/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1293 - acc: 0.921 - 0s - loss: 0.0825 - acc: 0.9599 - val_loss: 0.1277 - val_acc: 0.9432\n",
      "Epoch 1231/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1604 - acc: 0.945 - 0s - loss: 0.1020 - acc: 0.9512 - val_loss: 0.1390 - val_acc: 0.9331\n",
      "Epoch 1232/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0949 - acc: 0.9599 - val_loss: 0.0924 - val_acc: 0.9635\n",
      "Epoch 1233/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0886 - acc: 0.9594 - val_loss: 0.2147 - val_acc: 0.9270\n",
      "Epoch 1234/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0941 - acc: 0.9609 - val_loss: 0.2189 - val_acc: 0.9229\n",
      "Epoch 1235/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1016 - acc: 0.9523 - val_loss: 0.1265 - val_acc: 0.9432\n",
      "Epoch 1236/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0941 - acc: 0.9573 - val_loss: 0.2124 - val_acc: 0.9229\n",
      "Epoch 1237/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0953 - acc: 0.9589 - val_loss: 0.0942 - val_acc: 0.9473\n",
      "Epoch 1238/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0878 - acc: 0.9599 - val_loss: 0.1849 - val_acc: 0.9209\n",
      "Epoch 1239/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1082 - acc: 0.9492 - val_loss: 0.1307 - val_acc: 0.9351\n",
      "Epoch 1240/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0863 - acc: 0.9568 - val_loss: 0.2100 - val_acc: 0.9249\n",
      "Epoch 1241/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0963 - acc: 0.9548 - val_loss: 0.0987 - val_acc: 0.9615\n",
      "Epoch 1242/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0938 - acc: 0.9568 - val_loss: 0.0942 - val_acc: 0.9615\n",
      "Epoch 1243/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0969 - acc: 0.9523 - val_loss: 0.1298 - val_acc: 0.9391\n",
      "Epoch 1244/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0888 - acc: 0.9604 - val_loss: 0.0937 - val_acc: 0.9615\n",
      "Epoch 1245/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0959 - acc: 0.9538 - val_loss: 0.1148 - val_acc: 0.9391\n",
      "Epoch 1246/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0907 - acc: 0.9558 - val_loss: 0.1023 - val_acc: 0.9452\n",
      "Epoch 1247/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0987 - acc: 0.9492 - val_loss: 0.0993 - val_acc: 0.9635\n",
      "Epoch 1248/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0878 - acc: 0.9609 - val_loss: 0.1113 - val_acc: 0.9513\n",
      "Epoch 1249/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0915 - acc: 0.9568 - val_loss: 0.1558 - val_acc: 0.9209\n",
      "Epoch 1250/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0923 - acc: 0.9558 - val_loss: 0.1044 - val_acc: 0.9371\n",
      "Epoch 1251/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0871 - acc: 0.9568 - val_loss: 0.1360 - val_acc: 0.9371\n",
      "Epoch 1252/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0994 - acc: 0.9507 - val_loss: 0.1471 - val_acc: 0.9331\n",
      "Epoch 1253/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1001 - acc: 0.9533 - val_loss: 0.1145 - val_acc: 0.9351\n",
      "Epoch 1254/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0879 - acc: 0.9578 - val_loss: 0.1127 - val_acc: 0.9533\n",
      "Epoch 1255/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0892 - acc: 0.9594 - val_loss: 0.0899 - val_acc: 0.9574\n",
      "Epoch 1256/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0952 - acc: 0.9543 - val_loss: 0.1596 - val_acc: 0.9310\n",
      "Epoch 1257/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0877 - acc: 0.9644 - val_loss: 0.0932 - val_acc: 0.9635\n",
      "Epoch 1258/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1080 - acc: 0.9492 - val_loss: 0.1190 - val_acc: 0.9391\n",
      "Epoch 1259/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0882 - acc: 0.9589 - val_loss: 0.0962 - val_acc: 0.9452\n",
      "Epoch 1260/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0970 - acc: 0.9507 - val_loss: 0.1003 - val_acc: 0.9574\n",
      "Epoch 1261/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0920 - acc: 0.9578 - val_loss: 0.1025 - val_acc: 0.9452\n",
      "Epoch 1262/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0904 - acc: 0.9589 - val_loss: 0.0967 - val_acc: 0.9533\n",
      "Epoch 1263/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0853 - acc: 0.9609 - val_loss: 0.1217 - val_acc: 0.9371\n",
      "Epoch 1264/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0921 - acc: 0.9533 - val_loss: 0.1087 - val_acc: 0.9371\n",
      "Epoch 1265/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1010 - acc: 0.9518 - val_loss: 0.1191 - val_acc: 0.9513\n",
      "Epoch 1266/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0995 - acc: 0.9558 - val_loss: 0.1004 - val_acc: 0.9615\n",
      "Epoch 1267/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0902 - acc: 0.9553 - val_loss: 0.0900 - val_acc: 0.9696\n",
      "Epoch 1268/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0946 - acc: 0.9528 - val_loss: 0.1210 - val_acc: 0.9533\n",
      "Epoch 1269/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0943 - acc: 0.9507 - val_loss: 0.1136 - val_acc: 0.9513\n",
      "Epoch 1270/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1031 - acc: 0.9538 - val_loss: 0.0970 - val_acc: 0.9533\n",
      "Epoch 1271/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0870 - acc: 0.9563 - val_loss: 0.1171 - val_acc: 0.9351\n",
      "Epoch 1272/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1067 - acc: 0.9507 - val_loss: 0.1093 - val_acc: 0.9533\n",
      "Epoch 1273/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1039 - acc: 0.9518 - val_loss: 0.1295 - val_acc: 0.9351\n",
      "Epoch 1274/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0924 - acc: 0.9558 - val_loss: 0.0987 - val_acc: 0.9513\n",
      "Epoch 1275/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0999 - acc: 0.9507 - val_loss: 0.1439 - val_acc: 0.9331\n",
      "Epoch 1276/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0912 - acc: 0.9523 - val_loss: 0.1026 - val_acc: 0.9594\n",
      "Epoch 1277/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0937 - acc: 0.9619 - val_loss: 0.1044 - val_acc: 0.9594\n",
      "Epoch 1278/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1054 - acc: 0.9492 - val_loss: 0.1104 - val_acc: 0.9513\n",
      "Epoch 1279/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1036 - acc: 0.9487 - val_loss: 0.0908 - val_acc: 0.9655\n",
      "Epoch 1280/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1045 - acc: 0.9467 - val_loss: 0.0842 - val_acc: 0.9675\n",
      "Epoch 1281/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0955 - acc: 0.9538 - val_loss: 0.1293 - val_acc: 0.9391\n",
      "Epoch 1282/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0897 - acc: 0.9589 - val_loss: 0.1897 - val_acc: 0.9148\n",
      "Epoch 1283/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0901 - acc: 0.9533 - val_loss: 0.1510 - val_acc: 0.9331\n",
      "Epoch 1284/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0910 - acc: 0.9584 - val_loss: 0.0981 - val_acc: 0.9554\n",
      "Epoch 1285/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0991 - acc: 0.9507 - val_loss: 0.1554 - val_acc: 0.9310\n",
      "Epoch 1286/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0878 - acc: 0.9573 - val_loss: 0.1309 - val_acc: 0.9371\n",
      "Epoch 1287/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0923 - acc: 0.9538 - val_loss: 0.1900 - val_acc: 0.9249\n",
      "Epoch 1288/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1026 - acc: 0.9502 - val_loss: 0.1631 - val_acc: 0.9310\n",
      "Epoch 1289/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1077 - acc: 0.9467 - val_loss: 0.1453 - val_acc: 0.9351\n",
      "Epoch 1290/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1008 - acc: 0.9497 - val_loss: 0.0961 - val_acc: 0.9615\n",
      "Epoch 1291/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0919 - acc: 0.9502 - val_loss: 0.1307 - val_acc: 0.9412\n",
      "Epoch 1292/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0875 - acc: 0.9584 - val_loss: 0.0894 - val_acc: 0.9615\n",
      "Epoch 1293/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0929 - acc: 0.9543 - val_loss: 0.0921 - val_acc: 0.9615\n",
      "Epoch 1294/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0940 - acc: 0.9553 - val_loss: 0.0913 - val_acc: 0.9655\n",
      "Epoch 1295/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0829 - acc: 0.9624 - val_loss: 0.1146 - val_acc: 0.9493\n",
      "Epoch 1296/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0883 - acc: 0.9558 - val_loss: 0.1758 - val_acc: 0.9331\n",
      "Epoch 1297/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1008 - acc: 0.9512 - val_loss: 0.1278 - val_acc: 0.9351\n",
      "Epoch 1298/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0898 - acc: 0.9594 - val_loss: 0.1486 - val_acc: 0.9310\n",
      "Epoch 1299/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0960 - acc: 0.9568 - val_loss: 0.0994 - val_acc: 0.9574\n",
      "Epoch 1300/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0955 - acc: 0.9563 - val_loss: 0.1877 - val_acc: 0.9290\n",
      "Epoch 1301/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0941 - acc: 0.9538 - val_loss: 0.1120 - val_acc: 0.9412\n",
      "Epoch 1302/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0828 - acc: 0.9614 - val_loss: 0.1272 - val_acc: 0.9371\n",
      "Epoch 1303/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0879 - acc: 0.9619 - val_loss: 0.1725 - val_acc: 0.9249\n",
      "Epoch 1304/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1066 - acc: 0.9507 - val_loss: 0.1251 - val_acc: 0.9493\n",
      "Epoch 1305/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0894 - acc: 0.9589 - val_loss: 0.1175 - val_acc: 0.9331\n",
      "Epoch 1306/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0879 - acc: 0.9573 - val_loss: 0.1521 - val_acc: 0.9331\n",
      "Epoch 1307/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0945 - acc: 0.9523 - val_loss: 0.1193 - val_acc: 0.9493\n",
      "Epoch 1308/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0882 - acc: 0.9553 - val_loss: 0.1193 - val_acc: 0.9513\n",
      "Epoch 1309/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0826 - acc: 0.9634 - val_loss: 0.1314 - val_acc: 0.9412\n",
      "Epoch 1310/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0879 - acc: 0.9533 - val_loss: 0.0957 - val_acc: 0.9554\n",
      "Epoch 1311/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0922 - acc: 0.9543 - val_loss: 0.1418 - val_acc: 0.9331\n",
      "Epoch 1312/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0862 - acc: 0.9578 - val_loss: 0.1098 - val_acc: 0.9452\n",
      "Epoch 1313/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0953 - acc: 0.9578 - val_loss: 0.1075 - val_acc: 0.9554\n",
      "Epoch 1314/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0868 - acc: 0.9599 - val_loss: 0.0932 - val_acc: 0.9635\n",
      "Epoch 1315/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0993 - acc: 0.9543 - val_loss: 0.1215 - val_acc: 0.9391\n",
      "Epoch 1316/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0942 - acc: 0.9533 - val_loss: 0.1420 - val_acc: 0.9209\n",
      "Epoch 1317/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1056 - acc: 0.9502 - val_loss: 0.1071 - val_acc: 0.9412\n",
      "Epoch 1318/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0897 - acc: 0.9604 - val_loss: 0.0943 - val_acc: 0.9533\n",
      "Epoch 1319/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0911 - acc: 0.9548 - val_loss: 0.1063 - val_acc: 0.9554\n",
      "Epoch 1320/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0892 - acc: 0.9568 - val_loss: 0.1032 - val_acc: 0.9594\n",
      "Epoch 1321/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0893 - acc: 0.9558 - val_loss: 0.1334 - val_acc: 0.9493\n",
      "Epoch 1322/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9584 - val_loss: 0.1432 - val_acc: 0.9310\n",
      "Epoch 1323/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0951 - acc: 0.9548 - val_loss: 0.0909 - val_acc: 0.9696\n",
      "Epoch 1324/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0871 - acc: 0.9609 - val_loss: 0.1121 - val_acc: 0.9412\n",
      "Epoch 1325/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0959 - acc: 0.9548 - val_loss: 0.0901 - val_acc: 0.9574\n",
      "Epoch 1326/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0970 - acc: 0.9558 - val_loss: 0.1117 - val_acc: 0.9493\n",
      "Epoch 1327/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0908 - acc: 0.9563 - val_loss: 0.1256 - val_acc: 0.9473\n",
      "Epoch 1328/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0893 - acc: 0.9568 - val_loss: 0.1015 - val_acc: 0.9615\n",
      "Epoch 1329/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0968 - acc: 0.9507 - val_loss: 0.1534 - val_acc: 0.9310\n",
      "Epoch 1330/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0851 - acc: 0.9594 - val_loss: 0.1133 - val_acc: 0.9432\n",
      "Epoch 1331/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0893 - acc: 0.9558 - val_loss: 0.0885 - val_acc: 0.9615\n",
      "Epoch 1332/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0941 - acc: 0.9553 - val_loss: 0.0997 - val_acc: 0.9594\n",
      "Epoch 1333/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1066 - acc: 0.9492 - val_loss: 0.3125 - val_acc: 0.8905\n",
      "Epoch 1334/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1116 - acc: 0.9507 - val_loss: 0.1191 - val_acc: 0.9270\n",
      "Epoch 1335/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0883 - acc: 0.9584 - val_loss: 0.1141 - val_acc: 0.9473\n",
      "Epoch 1336/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0802 - acc: 0.9624 - val_loss: 0.1067 - val_acc: 0.9452\n",
      "Epoch 1337/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0999 - acc: 0.9553 - val_loss: 0.0833 - val_acc: 0.9635\n",
      "Epoch 1338/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0870 - acc: 0.9599 - val_loss: 0.1083 - val_acc: 0.9412\n",
      "Epoch 1339/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0832 - acc: 0.9609 - val_loss: 0.1290 - val_acc: 0.9371\n",
      "Epoch 1340/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0848 - acc: 0.9599 - val_loss: 0.0862 - val_acc: 0.9655\n",
      "Epoch 1341/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0913 - acc: 0.9553 - val_loss: 0.1250 - val_acc: 0.9371\n",
      "Epoch 1342/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0830 - acc: 0.9594 - val_loss: 0.0909 - val_acc: 0.9615\n",
      "Epoch 1343/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0912 - acc: 0.9558 - val_loss: 0.1717 - val_acc: 0.9249\n",
      "Epoch 1344/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1071 - acc: 0.9512 - val_loss: 0.0878 - val_acc: 0.9615\n",
      "Epoch 1345/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0802 - acc: 0.9594 - val_loss: 0.1388 - val_acc: 0.9351\n",
      "Epoch 1346/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0881 - acc: 0.9568 - val_loss: 0.0910 - val_acc: 0.9554\n",
      "Epoch 1347/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0875 - acc: 0.9573 - val_loss: 0.1031 - val_acc: 0.9635\n",
      "Epoch 1348/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0858 - acc: 0.9594 - val_loss: 0.1713 - val_acc: 0.9331\n",
      "Epoch 1349/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1040 - acc: 0.9543 - val_loss: 0.1451 - val_acc: 0.9371\n",
      "Epoch 1350/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0867 - acc: 0.9573 - val_loss: 0.1231 - val_acc: 0.9452\n",
      "Epoch 1351/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0949 - acc: 0.9568 - val_loss: 0.0982 - val_acc: 0.9533\n",
      "Epoch 1352/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0805 - acc: 0.9629 - val_loss: 0.0978 - val_acc: 0.9554\n",
      "Epoch 1353/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0890 - acc: 0.9599 - val_loss: 0.1434 - val_acc: 0.9310\n",
      "Epoch 1354/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1112 - acc: 0.9436 - val_loss: 0.2344 - val_acc: 0.9108\n",
      "Epoch 1355/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0931 - acc: 0.9548 - val_loss: 0.1166 - val_acc: 0.9473\n",
      "Epoch 1356/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0832 - acc: 0.9604 - val_loss: 0.1526 - val_acc: 0.9391\n",
      "Epoch 1357/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0997 - acc: 0.9558 - val_loss: 0.0957 - val_acc: 0.9594\n",
      "Epoch 1358/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0892 - acc: 0.9594 - val_loss: 0.1253 - val_acc: 0.9452\n",
      "Epoch 1359/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0922 - acc: 0.9553 - val_loss: 0.0894 - val_acc: 0.9635\n",
      "Epoch 1360/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0873 - acc: 0.9599 - val_loss: 0.1351 - val_acc: 0.9371\n",
      "Epoch 1361/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0851 - acc: 0.9609 - val_loss: 0.1134 - val_acc: 0.9533\n",
      "Epoch 1362/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0812 - acc: 0.9634 - val_loss: 0.1556 - val_acc: 0.9310\n",
      "Epoch 1363/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0900 - acc: 0.9614 - val_loss: 0.1287 - val_acc: 0.9493\n",
      "Epoch 1364/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1032 - acc: 0.9507 - val_loss: 0.0865 - val_acc: 0.9655\n",
      "Epoch 1365/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0931 - acc: 0.9528 - val_loss: 0.0953 - val_acc: 0.9493\n",
      "Epoch 1366/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0894 - acc: 0.9558 - val_loss: 0.1241 - val_acc: 0.9351\n",
      "Epoch 1367/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0868 - acc: 0.9619 - val_loss: 0.1031 - val_acc: 0.9554\n",
      "Epoch 1368/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0886 - acc: 0.9589 - val_loss: 0.1347 - val_acc: 0.9351\n",
      "Epoch 1369/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0868 - acc: 0.9609 - val_loss: 0.1145 - val_acc: 0.9594\n",
      "Epoch 1370/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0880 - acc: 0.9578 - val_loss: 0.1037 - val_acc: 0.9452\n",
      "Epoch 1371/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1005 - acc: 0.9477 - val_loss: 0.0999 - val_acc: 0.9493\n",
      "Epoch 1372/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0882 - acc: 0.9543 - val_loss: 0.2175 - val_acc: 0.9290\n",
      "Epoch 1373/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0979 - acc: 0.9563 - val_loss: 0.0986 - val_acc: 0.9513\n",
      "Epoch 1374/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0896 - acc: 0.9548 - val_loss: 0.1239 - val_acc: 0.9452\n",
      "Epoch 1375/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0868 - acc: 0.9584 - val_loss: 0.2348 - val_acc: 0.9189\n",
      "Epoch 1376/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0994 - acc: 0.9528 - val_loss: 0.1494 - val_acc: 0.9432\n",
      "Epoch 1377/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0922 - acc: 0.9573 - val_loss: 0.1436 - val_acc: 0.9412\n",
      "Epoch 1378/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9629 - val_loss: 0.1240 - val_acc: 0.9249\n",
      "Epoch 1379/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0876 - acc: 0.9573 - val_loss: 0.0988 - val_acc: 0.9452\n",
      "Epoch 1380/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0929 - acc: 0.9543 - val_loss: 0.1471 - val_acc: 0.9270\n",
      "Epoch 1381/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0982 - acc: 0.9492 - val_loss: 0.1336 - val_acc: 0.9493\n",
      "Epoch 1382/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0921 - acc: 0.9568 - val_loss: 0.1435 - val_acc: 0.9351\n",
      "Epoch 1383/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.1081 - acc: 0.9512 - val_loss: 0.0961 - val_acc: 0.9594\n",
      "Epoch 1384/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0871 - acc: 0.9578 - val_loss: 0.1375 - val_acc: 0.9473\n",
      "Epoch 1385/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0949 - acc: 0.9538 - val_loss: 0.0918 - val_acc: 0.9615\n",
      "Epoch 1386/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0894 - acc: 0.9518 - val_loss: 0.1474 - val_acc: 0.9310\n",
      "Epoch 1387/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0889 - acc: 0.9543 - val_loss: 0.0846 - val_acc: 0.9655\n",
      "Epoch 1388/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0836 - acc: 0.9604 - val_loss: 0.1252 - val_acc: 0.9391\n",
      "Epoch 1389/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0880 - acc: 0.9563 - val_loss: 0.1105 - val_acc: 0.9473\n",
      "Epoch 1390/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0856 - acc: 0.9650 - val_loss: 0.1071 - val_acc: 0.9432\n",
      "Epoch 1391/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0977 - acc: 0.9578 - val_loss: 0.1226 - val_acc: 0.9391\n",
      "Epoch 1392/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0935 - acc: 0.9543 - val_loss: 0.0989 - val_acc: 0.9574\n",
      "Epoch 1393/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0814 - acc: 0.9614 - val_loss: 0.1241 - val_acc: 0.9533\n",
      "Epoch 1394/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0874 - acc: 0.9578 - val_loss: 0.1309 - val_acc: 0.9391\n",
      "Epoch 1395/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0939 - acc: 0.9589 - val_loss: 0.0954 - val_acc: 0.9574\n",
      "Epoch 1396/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0785 - acc: 0.9680 - val_loss: 0.2502 - val_acc: 0.9148\n",
      "Epoch 1397/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1074 - acc: 0.9538 - val_loss: 0.0986 - val_acc: 0.9513\n",
      "Epoch 1398/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0869 - acc: 0.9548 - val_loss: 0.0969 - val_acc: 0.9513\n",
      "Epoch 1399/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0854 - acc: 0.9543 - val_loss: 0.0969 - val_acc: 0.9635\n",
      "Epoch 1400/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0894 - acc: 0.9558 - val_loss: 0.0972 - val_acc: 0.9615\n",
      "Epoch 1401/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0820 - acc: 0.9624 - val_loss: 0.0881 - val_acc: 0.9615\n",
      "Epoch 1402/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0932 - acc: 0.9528 - val_loss: 0.0979 - val_acc: 0.9574\n",
      "Epoch 1403/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0891 - acc: 0.9573 - val_loss: 0.0912 - val_acc: 0.9675\n",
      "Epoch 1404/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0824 - acc: 0.9619 - val_loss: 0.1009 - val_acc: 0.9615\n",
      "Epoch 1405/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0907 - acc: 0.9594 - val_loss: 0.0923 - val_acc: 0.9675\n",
      "Epoch 1406/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0946 - acc: 0.9543 - val_loss: 0.1844 - val_acc: 0.9270\n",
      "Epoch 1407/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0808 - acc: 0.9639 - val_loss: 0.0870 - val_acc: 0.9635\n",
      "Epoch 1408/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0920 - acc: 0.9523 - val_loss: 0.1812 - val_acc: 0.9310\n",
      "Epoch 1409/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0895 - acc: 0.9548 - val_loss: 0.1169 - val_acc: 0.9391\n",
      "Epoch 1410/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0953 - acc: 0.9553 - val_loss: 0.0897 - val_acc: 0.9655\n",
      "Epoch 1411/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0819 - acc: 0.9573 - val_loss: 0.0921 - val_acc: 0.9655\n",
      "Epoch 1412/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0911 - acc: 0.9578 - val_loss: 0.0994 - val_acc: 0.9493\n",
      "Epoch 1413/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0986 - acc: 0.9528 - val_loss: 0.0960 - val_acc: 0.9493\n",
      "Epoch 1414/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0877 - acc: 0.9563 - val_loss: 0.0980 - val_acc: 0.9493\n",
      "Epoch 1415/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0934 - acc: 0.9512 - val_loss: 0.1908 - val_acc: 0.9168\n",
      "Epoch 1416/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0871 - acc: 0.9614 - val_loss: 0.1144 - val_acc: 0.9513\n",
      "Epoch 1417/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0964 - acc: 0.9563 - val_loss: 0.1772 - val_acc: 0.9290\n",
      "Epoch 1418/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0921 - acc: 0.9543 - val_loss: 0.1304 - val_acc: 0.9351\n",
      "Epoch 1419/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0904 - acc: 0.9548 - val_loss: 0.1641 - val_acc: 0.9270\n",
      "Epoch 1420/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0992 - acc: 0.9502 - val_loss: 0.0956 - val_acc: 0.9655\n",
      "Epoch 1421/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0848 - acc: 0.9599 - val_loss: 0.1062 - val_acc: 0.9452\n",
      "Epoch 1422/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0903 - acc: 0.9604 - val_loss: 0.1885 - val_acc: 0.9229\n",
      "Epoch 1423/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0931 - acc: 0.9558 - val_loss: 0.1800 - val_acc: 0.9290\n",
      "Epoch 1424/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0953 - acc: 0.9553 - val_loss: 0.1134 - val_acc: 0.9493\n",
      "Epoch 1425/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0889 - acc: 0.9558 - val_loss: 0.0917 - val_acc: 0.9615\n",
      "Epoch 1426/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0802 - acc: 0.9599 - val_loss: 0.0920 - val_acc: 0.9533\n",
      "Epoch 1427/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0943 - acc: 0.9472 - val_loss: 0.0955 - val_acc: 0.9473\n",
      "Epoch 1428/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0977 - acc: 0.9548 - val_loss: 0.1422 - val_acc: 0.9290\n",
      "Epoch 1429/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0897 - acc: 0.9578 - val_loss: 0.1336 - val_acc: 0.9310\n",
      "Epoch 1430/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0875 - acc: 0.9568 - val_loss: 0.1579 - val_acc: 0.9249\n",
      "Epoch 1431/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0873 - acc: 0.9594 - val_loss: 0.0956 - val_acc: 0.9513\n",
      "Epoch 1432/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0895 - acc: 0.9584 - val_loss: 0.0859 - val_acc: 0.9615\n",
      "Epoch 1433/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0827 - acc: 0.9614 - val_loss: 0.0867 - val_acc: 0.9635\n",
      "Epoch 1434/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0879 - acc: 0.9584 - val_loss: 0.1055 - val_acc: 0.9432\n",
      "Epoch 1435/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0933 - acc: 0.9533 - val_loss: 0.2013 - val_acc: 0.9168\n",
      "Epoch 1436/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0968 - acc: 0.9543 - val_loss: 0.0971 - val_acc: 0.9513\n",
      "Epoch 1437/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0990 - acc: 0.9563 - val_loss: 0.0875 - val_acc: 0.9594\n",
      "Epoch 1438/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0815 - acc: 0.9614 - val_loss: 0.0873 - val_acc: 0.9716\n",
      "Epoch 1439/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0946 - acc: 0.9548 - val_loss: 0.1162 - val_acc: 0.9391\n",
      "Epoch 1440/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0899 - acc: 0.9589 - val_loss: 0.2225 - val_acc: 0.9168\n",
      "Epoch 1441/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1067 - acc: 0.9528 - val_loss: 0.0997 - val_acc: 0.9615\n",
      "Epoch 1442/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0891 - acc: 0.9604 - val_loss: 0.1005 - val_acc: 0.9615\n",
      "Epoch 1443/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0912 - acc: 0.9568 - val_loss: 0.0920 - val_acc: 0.9594\n",
      "Epoch 1444/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0948 - acc: 0.9548 - val_loss: 0.2041 - val_acc: 0.9249\n",
      "Epoch 1445/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0943 - acc: 0.9543 - val_loss: 0.2151 - val_acc: 0.9168\n",
      "Epoch 1446/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0905 - acc: 0.9594 - val_loss: 0.1151 - val_acc: 0.9493\n",
      "Epoch 1447/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0867 - acc: 0.9589 - val_loss: 0.1140 - val_acc: 0.9432\n",
      "Epoch 1448/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1078 - acc: 0.9457 - val_loss: 0.1324 - val_acc: 0.9351\n",
      "Epoch 1449/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0894 - acc: 0.9604 - val_loss: 0.1008 - val_acc: 0.9513\n",
      "Epoch 1450/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0873 - acc: 0.9614 - val_loss: 0.0914 - val_acc: 0.9533\n",
      "Epoch 1451/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0873 - acc: 0.9558 - val_loss: 0.1130 - val_acc: 0.9493\n",
      "Epoch 1452/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0921 - acc: 0.9543 - val_loss: 0.0961 - val_acc: 0.9452\n",
      "Epoch 1453/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0848 - acc: 0.9624 - val_loss: 0.1690 - val_acc: 0.9229\n",
      "Epoch 1454/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0847 - acc: 0.9594 - val_loss: 0.1046 - val_acc: 0.9513\n",
      "Epoch 1455/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0854 - acc: 0.9573 - val_loss: 0.1047 - val_acc: 0.9513\n",
      "Epoch 1456/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0828 - acc: 0.9589 - val_loss: 0.1452 - val_acc: 0.9290\n",
      "Epoch 1457/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0922 - acc: 0.9568 - val_loss: 0.0919 - val_acc: 0.9533\n",
      "Epoch 1458/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0894 - acc: 0.9553 - val_loss: 0.1105 - val_acc: 0.9432\n",
      "Epoch 1459/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0954 - acc: 0.9528 - val_loss: 0.0914 - val_acc: 0.9655\n",
      "Epoch 1460/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0946 - acc: 0.9502 - val_loss: 0.0875 - val_acc: 0.9615\n",
      "Epoch 1461/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0941 - acc: 0.9533 - val_loss: 0.0857 - val_acc: 0.9655\n",
      "Epoch 1462/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0800 - acc: 0.9584 - val_loss: 0.0996 - val_acc: 0.9574\n",
      "Epoch 1463/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0865 - acc: 0.9584 - val_loss: 0.1398 - val_acc: 0.9351\n",
      "Epoch 1464/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1058 - acc: 0.9487 - val_loss: 0.1216 - val_acc: 0.9493\n",
      "Epoch 1465/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0892 - acc: 0.9624 - val_loss: 0.1053 - val_acc: 0.9554\n",
      "Epoch 1466/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0912 - acc: 0.9573 - val_loss: 0.1113 - val_acc: 0.9493\n",
      "Epoch 1467/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1216 - acc: 0.906 - 0s - loss: 0.0947 - acc: 0.9538 - val_loss: 0.0845 - val_acc: 0.9635\n",
      "Epoch 1468/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0846 - acc: 0.9599 - val_loss: 0.0993 - val_acc: 0.9615\n",
      "Epoch 1469/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1022 - acc: 0.9507 - val_loss: 0.0894 - val_acc: 0.9675\n",
      "Epoch 1470/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0860 - acc: 0.9553 - val_loss: 0.0952 - val_acc: 0.9615\n",
      "Epoch 1471/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0634 - acc: 0.968 - 0s - loss: 0.0895 - acc: 0.9568 - val_loss: 0.1345 - val_acc: 0.9412\n",
      "Epoch 1472/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0920 - acc: 0.9548 - val_loss: 0.1004 - val_acc: 0.9493\n",
      "Epoch 1473/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0840 - acc: 0.9624 - val_loss: 0.0973 - val_acc: 0.9533\n",
      "Epoch 1474/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0886 - acc: 0.9578 - val_loss: 0.0980 - val_acc: 0.9513\n",
      "Epoch 1475/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0884 - acc: 0.9604 - val_loss: 0.1537 - val_acc: 0.9371\n",
      "Epoch 1476/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0987 - acc: 0.9507 - val_loss: 0.0928 - val_acc: 0.9655\n",
      "Epoch 1477/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0879 - acc: 0.9619 - val_loss: 0.1755 - val_acc: 0.9249\n",
      "Epoch 1478/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0864 - acc: 0.9533 - val_loss: 0.1016 - val_acc: 0.9635\n",
      "Epoch 1479/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0888 - acc: 0.9609 - val_loss: 0.0971 - val_acc: 0.9635\n",
      "Epoch 1480/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0873 - acc: 0.9594 - val_loss: 0.1103 - val_acc: 0.9493\n",
      "Epoch 1481/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1002 - acc: 0.9512 - val_loss: 0.1065 - val_acc: 0.9554\n",
      "Epoch 1482/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9604 - val_loss: 0.0883 - val_acc: 0.9615\n",
      "Epoch 1483/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0877 - acc: 0.9594 - val_loss: 0.1388 - val_acc: 0.9371\n",
      "Epoch 1484/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0899 - acc: 0.9538 - val_loss: 0.1030 - val_acc: 0.9513\n",
      "Epoch 1485/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0901 - acc: 0.9584 - val_loss: 0.0848 - val_acc: 0.9655\n",
      "Epoch 1486/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0890 - acc: 0.9604 - val_loss: 0.1061 - val_acc: 0.9493\n",
      "Epoch 1487/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0872 - acc: 0.9563 - val_loss: 0.0884 - val_acc: 0.9635\n",
      "Epoch 1488/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0916 - acc: 0.9578 - val_loss: 0.1086 - val_acc: 0.9432\n",
      "Epoch 1489/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0857 - acc: 0.9599 - val_loss: 0.1477 - val_acc: 0.9391\n",
      "Epoch 1490/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0922 - acc: 0.9553 - val_loss: 0.1178 - val_acc: 0.9533\n",
      "Epoch 1491/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0934 - acc: 0.9543 - val_loss: 0.1042 - val_acc: 0.9554\n",
      "Epoch 1492/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0876 - acc: 0.9558 - val_loss: 0.0949 - val_acc: 0.9574\n",
      "Epoch 1493/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0933 - acc: 0.9573 - val_loss: 0.1154 - val_acc: 0.9513\n",
      "Epoch 1494/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1028 - acc: 0.9502 - val_loss: 0.0882 - val_acc: 0.9615\n",
      "Epoch 1495/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0855 - acc: 0.9614 - val_loss: 0.1241 - val_acc: 0.9513\n",
      "Epoch 1496/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0865 - acc: 0.9568 - val_loss: 0.0910 - val_acc: 0.9574\n",
      "Epoch 1497/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1023 - acc: 0.9512 - val_loss: 0.0901 - val_acc: 0.9635\n",
      "Epoch 1498/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0777 - acc: 0.9660 - val_loss: 0.0882 - val_acc: 0.9635\n",
      "Epoch 1499/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0898 - acc: 0.9604 - val_loss: 0.0892 - val_acc: 0.9635\n",
      "Epoch 1500/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0867 - acc: 0.9584 - val_loss: 0.0886 - val_acc: 0.9513\n",
      "Epoch 1501/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0842 - acc: 0.9599 - val_loss: 0.0907 - val_acc: 0.9513\n",
      "Epoch 1502/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0810 - acc: 0.9629 - val_loss: 0.1171 - val_acc: 0.9473\n",
      "Epoch 1503/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0890 - acc: 0.9573 - val_loss: 0.0958 - val_acc: 0.9675\n",
      "Epoch 1504/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0799 - acc: 0.9624 - val_loss: 0.1502 - val_acc: 0.9473\n",
      "Epoch 1505/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0941 - acc: 0.9553 - val_loss: 0.0873 - val_acc: 0.9594\n",
      "Epoch 1506/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0822 - acc: 0.9589 - val_loss: 0.1111 - val_acc: 0.9432\n",
      "Epoch 1507/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0871 - acc: 0.9594 - val_loss: 0.0895 - val_acc: 0.9615\n",
      "Epoch 1508/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0879 - acc: 0.9609 - val_loss: 0.1002 - val_acc: 0.9493\n",
      "Epoch 1509/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0872 - acc: 0.9619 - val_loss: 0.0952 - val_acc: 0.9655\n",
      "Epoch 1510/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0845 - acc: 0.9584 - val_loss: 0.1733 - val_acc: 0.9249\n",
      "Epoch 1511/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0864 - acc: 0.9589 - val_loss: 0.1031 - val_acc: 0.9615\n",
      "Epoch 1512/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0864 - acc: 0.9599 - val_loss: 0.0913 - val_acc: 0.9493\n",
      "Epoch 1513/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0886 - acc: 0.9624 - val_loss: 0.1074 - val_acc: 0.9533\n",
      "Epoch 1514/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1111 - acc: 0.9492 - val_loss: 0.1206 - val_acc: 0.9473\n",
      "Epoch 1515/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0858 - acc: 0.9573 - val_loss: 0.1108 - val_acc: 0.9554\n",
      "Epoch 1516/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0951 - acc: 0.9573 - val_loss: 0.1498 - val_acc: 0.9391\n",
      "Epoch 1517/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0843 - acc: 0.9578 - val_loss: 0.1073 - val_acc: 0.9473\n",
      "Epoch 1518/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0854 - acc: 0.9548 - val_loss: 0.0984 - val_acc: 0.9635\n",
      "Epoch 1519/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0990 - acc: 0.9477 - val_loss: 0.1171 - val_acc: 0.9473\n",
      "Epoch 1520/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0873 - acc: 0.9533 - val_loss: 0.0927 - val_acc: 0.9615\n",
      "Epoch 1521/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0989 - acc: 0.9533 - val_loss: 0.1090 - val_acc: 0.9574\n",
      "Epoch 1522/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0832 - acc: 0.9624 - val_loss: 0.1461 - val_acc: 0.9452\n",
      "Epoch 1523/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0926 - acc: 0.9589 - val_loss: 0.0970 - val_acc: 0.9533\n",
      "Epoch 1524/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0877 - acc: 0.9599 - val_loss: 0.0935 - val_acc: 0.9533\n",
      "Epoch 1525/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0927 - acc: 0.9563 - val_loss: 0.1566 - val_acc: 0.9270\n",
      "Epoch 1526/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0922 - acc: 0.9558 - val_loss: 0.0965 - val_acc: 0.9574\n",
      "Epoch 1527/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0792 - acc: 0.9644 - val_loss: 0.1030 - val_acc: 0.9635\n",
      "Epoch 1528/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0862 - acc: 0.9573 - val_loss: 0.1058 - val_acc: 0.9574\n",
      "Epoch 1529/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0806 - acc: 0.9619 - val_loss: 0.1046 - val_acc: 0.9574\n",
      "Epoch 1530/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0848 - acc: 0.9548 - val_loss: 0.1021 - val_acc: 0.9473\n",
      "Epoch 1531/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0906 - acc: 0.9604 - val_loss: 0.0962 - val_acc: 0.9655\n",
      "Epoch 1532/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0958 - acc: 0.9538 - val_loss: 0.1366 - val_acc: 0.9391\n",
      "Epoch 1533/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0863 - acc: 0.9589 - val_loss: 0.0925 - val_acc: 0.9615\n",
      "Epoch 1534/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0890 - acc: 0.9594 - val_loss: 0.1113 - val_acc: 0.9412\n",
      "Epoch 1535/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0869 - acc: 0.9589 - val_loss: 0.0900 - val_acc: 0.9574\n",
      "Epoch 1536/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0999 - acc: 0.9507 - val_loss: 0.1408 - val_acc: 0.9391\n",
      "Epoch 1537/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0974 - acc: 0.9548 - val_loss: 0.0905 - val_acc: 0.9615\n",
      "Epoch 1538/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0900 - acc: 0.9543 - val_loss: 0.1745 - val_acc: 0.9310\n",
      "Epoch 1539/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0917 - acc: 0.9573 - val_loss: 0.1412 - val_acc: 0.9371\n",
      "Epoch 1540/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0865 - acc: 0.9563 - val_loss: 0.1117 - val_acc: 0.9493\n",
      "Epoch 1541/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0865 - acc: 0.9599 - val_loss: 0.1621 - val_acc: 0.9290\n",
      "Epoch 1542/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0814 - acc: 0.9624 - val_loss: 0.0844 - val_acc: 0.9635\n",
      "Epoch 1543/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0946 - acc: 0.9492 - val_loss: 0.1607 - val_acc: 0.9310\n",
      "Epoch 1544/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0899 - acc: 0.9563 - val_loss: 0.0992 - val_acc: 0.9594\n",
      "Epoch 1545/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0871 - acc: 0.9578 - val_loss: 0.0898 - val_acc: 0.9493\n",
      "Epoch 1546/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0962 - acc: 0.9558 - val_loss: 0.1027 - val_acc: 0.9594\n",
      "Epoch 1547/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0809 - acc: 0.9644 - val_loss: 0.0877 - val_acc: 0.9574\n",
      "Epoch 1548/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0882 - acc: 0.9558 - val_loss: 0.1873 - val_acc: 0.9351\n",
      "Epoch 1549/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0935 - acc: 0.9528 - val_loss: 0.1094 - val_acc: 0.9493\n",
      "Epoch 1550/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0862 - acc: 0.9604 - val_loss: 0.2115 - val_acc: 0.9108\n",
      "Epoch 1551/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0903 - acc: 0.9568 - val_loss: 0.2230 - val_acc: 0.9209\n",
      "Epoch 1552/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1057 - acc: 0.9502 - val_loss: 0.1135 - val_acc: 0.9554\n",
      "Epoch 1553/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0833 - acc: 0.9624 - val_loss: 0.1059 - val_acc: 0.9554\n",
      "Epoch 1554/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0906 - acc: 0.9578 - val_loss: 0.1413 - val_acc: 0.9412\n",
      "Epoch 1555/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0831 - acc: 0.9548 - val_loss: 0.2003 - val_acc: 0.9270\n",
      "Epoch 1556/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0922 - acc: 0.9548 - val_loss: 0.2179 - val_acc: 0.9189\n",
      "Epoch 1557/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0857 - acc: 0.9634 - val_loss: 0.0980 - val_acc: 0.9594\n",
      "Epoch 1558/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0826 - acc: 0.9584 - val_loss: 0.1166 - val_acc: 0.9371\n",
      "Epoch 1559/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0864 - acc: 0.9599 - val_loss: 0.1000 - val_acc: 0.9594\n",
      "Epoch 1560/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0878 - acc: 0.9624 - val_loss: 0.1005 - val_acc: 0.9574\n",
      "Epoch 1561/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1139 - acc: 0.9411 - val_loss: 0.0885 - val_acc: 0.9574\n",
      "Epoch 1562/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0854 - acc: 0.9619 - val_loss: 0.1036 - val_acc: 0.9493\n",
      "Epoch 1563/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0843 - acc: 0.9543 - val_loss: 0.1016 - val_acc: 0.9594\n",
      "Epoch 1564/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0971 - acc: 0.9502 - val_loss: 0.1309 - val_acc: 0.9432\n",
      "Epoch 1565/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0835 - acc: 0.9624 - val_loss: 0.1373 - val_acc: 0.9473\n",
      "Epoch 1566/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0862 - acc: 0.9563 - val_loss: 0.0939 - val_acc: 0.9594\n",
      "Epoch 1567/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0902 - acc: 0.9568 - val_loss: 0.0844 - val_acc: 0.9675\n",
      "Epoch 1568/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0822 - acc: 0.9589 - val_loss: 0.1181 - val_acc: 0.9391\n",
      "Epoch 1569/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0846 - acc: 0.9604 - val_loss: 0.0873 - val_acc: 0.9716\n",
      "Epoch 1570/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0816 - acc: 0.9619 - val_loss: 0.1985 - val_acc: 0.9249\n",
      "Epoch 1571/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0973 - acc: 0.9548 - val_loss: 0.1004 - val_acc: 0.9594\n",
      "Epoch 1572/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0847 - acc: 0.9578 - val_loss: 0.1444 - val_acc: 0.9290\n",
      "Epoch 1573/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0911 - acc: 0.9573 - val_loss: 0.1118 - val_acc: 0.9493\n",
      "Epoch 1574/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0810 - acc: 0.9609 - val_loss: 0.1223 - val_acc: 0.9351\n",
      "Epoch 1575/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0783 - acc: 0.9609 - val_loss: 0.1113 - val_acc: 0.9432\n",
      "Epoch 1576/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0873 - acc: 0.9563 - val_loss: 0.1155 - val_acc: 0.9371\n",
      "Epoch 1577/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0973 - acc: 0.9502 - val_loss: 0.1105 - val_acc: 0.9574\n",
      "Epoch 1578/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0843 - acc: 0.9568 - val_loss: 0.1418 - val_acc: 0.9331\n",
      "Epoch 1579/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0899 - acc: 0.9578 - val_loss: 0.1255 - val_acc: 0.9391\n",
      "Epoch 1580/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0832 - acc: 0.9589 - val_loss: 0.1109 - val_acc: 0.9371\n",
      "Epoch 1581/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0885 - acc: 0.9578 - val_loss: 0.1161 - val_acc: 0.9412\n",
      "Epoch 1582/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0878 - acc: 0.9599 - val_loss: 0.1056 - val_acc: 0.9554\n",
      "Epoch 1583/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0856 - acc: 0.9568 - val_loss: 0.1332 - val_acc: 0.9331\n",
      "Epoch 1584/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1079 - acc: 0.9492 - val_loss: 0.1008 - val_acc: 0.9635\n",
      "Epoch 1585/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0898 - acc: 0.9563 - val_loss: 0.0867 - val_acc: 0.9635\n",
      "Epoch 1586/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0932 - acc: 0.9558 - val_loss: 0.1029 - val_acc: 0.9452\n",
      "Epoch 1587/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0856 - acc: 0.9584 - val_loss: 0.1049 - val_acc: 0.9615\n",
      "Epoch 1588/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0947 - acc: 0.9553 - val_loss: 0.1848 - val_acc: 0.9270\n",
      "Epoch 1589/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0984 - acc: 0.9533 - val_loss: 0.1762 - val_acc: 0.9249\n",
      "Epoch 1590/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0877 - acc: 0.9553 - val_loss: 0.0968 - val_acc: 0.9513\n",
      "Epoch 1591/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0859 - acc: 0.9558 - val_loss: 0.1467 - val_acc: 0.9331\n",
      "Epoch 1592/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0822 - acc: 0.9563 - val_loss: 0.1161 - val_acc: 0.9473\n",
      "Epoch 1593/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0924 - acc: 0.9563 - val_loss: 0.0977 - val_acc: 0.9675\n",
      "Epoch 1594/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0910 - acc: 0.9538 - val_loss: 0.1280 - val_acc: 0.9351\n",
      "Epoch 1595/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1174 - acc: 0.937 - 0s - loss: 0.0916 - acc: 0.9548 - val_loss: 0.1200 - val_acc: 0.9533\n",
      "Epoch 1596/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0938 - acc: 0.9563 - val_loss: 0.1183 - val_acc: 0.9432\n",
      "Epoch 1597/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1051 - acc: 0.9518 - val_loss: 0.0847 - val_acc: 0.9615\n",
      "Epoch 1598/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0809 - acc: 0.9609 - val_loss: 0.0818 - val_acc: 0.9635\n",
      "Epoch 1599/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0830 - acc: 0.9589 - val_loss: 0.1397 - val_acc: 0.9290\n",
      "Epoch 1600/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0846 - acc: 0.9614 - val_loss: 0.1571 - val_acc: 0.9310\n",
      "Epoch 1601/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0874 - acc: 0.9563 - val_loss: 0.1140 - val_acc: 0.9371\n",
      "Epoch 1602/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0932 - acc: 0.9568 - val_loss: 0.1208 - val_acc: 0.9513\n",
      "Epoch 1603/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0892 - acc: 0.9609 - val_loss: 0.1441 - val_acc: 0.9331\n",
      "Epoch 1604/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0897 - acc: 0.9578 - val_loss: 0.0946 - val_acc: 0.9533\n",
      "Epoch 1605/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0851 - acc: 0.9589 - val_loss: 0.1040 - val_acc: 0.9635\n",
      "Epoch 1606/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0847 - acc: 0.9624 - val_loss: 0.1089 - val_acc: 0.9513\n",
      "Epoch 1607/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0892 - acc: 0.9563 - val_loss: 0.1042 - val_acc: 0.9533\n",
      "Epoch 1608/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0884 - acc: 0.9599 - val_loss: 0.1576 - val_acc: 0.9290\n",
      "Epoch 1609/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0877 - acc: 0.9578 - val_loss: 0.0993 - val_acc: 0.9594\n",
      "Epoch 1610/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0902 - acc: 0.9589 - val_loss: 0.0894 - val_acc: 0.9655\n",
      "Epoch 1611/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0927 - acc: 0.9578 - val_loss: 0.0936 - val_acc: 0.9493\n",
      "Epoch 1612/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0808 - acc: 0.9624 - val_loss: 0.1803 - val_acc: 0.9290\n",
      "Epoch 1613/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0849 - acc: 0.9634 - val_loss: 0.0953 - val_acc: 0.9635\n",
      "Epoch 1614/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0803 - acc: 0.9655 - val_loss: 0.1173 - val_acc: 0.9473\n",
      "Epoch 1615/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0883 - acc: 0.9573 - val_loss: 0.1613 - val_acc: 0.9351\n",
      "Epoch 1616/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0879 - acc: 0.9589 - val_loss: 0.1208 - val_acc: 0.9452\n",
      "Epoch 1617/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0928 - acc: 0.9533 - val_loss: 0.0958 - val_acc: 0.9615\n",
      "Epoch 1618/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0854 - acc: 0.9619 - val_loss: 0.1807 - val_acc: 0.9310\n",
      "Epoch 1619/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0927 - acc: 0.9528 - val_loss: 0.1055 - val_acc: 0.9594\n",
      "Epoch 1620/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0912 - acc: 0.9502 - val_loss: 0.0944 - val_acc: 0.9594\n",
      "Epoch 1621/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0906 - acc: 0.9548 - val_loss: 0.1011 - val_acc: 0.9574\n",
      "Epoch 1622/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0844 - acc: 0.9604 - val_loss: 0.1309 - val_acc: 0.9452\n",
      "Epoch 1623/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0866 - acc: 0.9604 - val_loss: 0.1157 - val_acc: 0.9371\n",
      "Epoch 1624/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0786 - acc: 0.9619 - val_loss: 0.1115 - val_acc: 0.9554\n",
      "Epoch 1625/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0951 - acc: 0.9553 - val_loss: 0.1341 - val_acc: 0.9310\n",
      "Epoch 1626/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0791 - acc: 0.9629 - val_loss: 0.1055 - val_acc: 0.9493\n",
      "Epoch 1627/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0792 - acc: 0.9639 - val_loss: 0.1853 - val_acc: 0.9310\n",
      "Epoch 1628/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0853 - acc: 0.9614 - val_loss: 0.0956 - val_acc: 0.9513\n",
      "Epoch 1629/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0807 - acc: 0.9568 - val_loss: 0.1960 - val_acc: 0.9209\n",
      "Epoch 1630/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0843 - acc: 0.9604 - val_loss: 0.0904 - val_acc: 0.9533\n",
      "Epoch 1631/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0814 - acc: 0.9594 - val_loss: 0.0936 - val_acc: 0.9594\n",
      "Epoch 1632/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0852 - acc: 0.9599 - val_loss: 0.1520 - val_acc: 0.9351\n",
      "Epoch 1633/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0952 - acc: 0.9568 - val_loss: 0.0929 - val_acc: 0.9574\n",
      "Epoch 1634/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0809 - acc: 0.9624 - val_loss: 0.1323 - val_acc: 0.9452\n",
      "Epoch 1635/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0858 - acc: 0.9594 - val_loss: 0.1754 - val_acc: 0.9351\n",
      "Epoch 1636/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0961 - acc: 0.9553 - val_loss: 0.0888 - val_acc: 0.9635\n",
      "Epoch 1637/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0776 - acc: 0.9655 - val_loss: 0.1210 - val_acc: 0.9391\n",
      "Epoch 1638/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0899 - acc: 0.9548 - val_loss: 0.0889 - val_acc: 0.9615\n",
      "Epoch 1639/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0949 - acc: 0.9543 - val_loss: 0.1363 - val_acc: 0.9391\n",
      "Epoch 1640/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0889 - acc: 0.9568 - val_loss: 0.1420 - val_acc: 0.9290\n",
      "Epoch 1641/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0923 - acc: 0.9523 - val_loss: 0.1560 - val_acc: 0.9229\n",
      "Epoch 1642/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0813 - acc: 0.9634 - val_loss: 0.0877 - val_acc: 0.9635\n",
      "Epoch 1643/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0834 - acc: 0.9563 - val_loss: 0.1023 - val_acc: 0.9493\n",
      "Epoch 1644/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0911 - acc: 0.9553 - val_loss: 0.2215 - val_acc: 0.9087\n",
      "Epoch 1645/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0854 - acc: 0.9594 - val_loss: 0.1863 - val_acc: 0.9249\n",
      "Epoch 1646/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0848 - acc: 0.9614 - val_loss: 0.2237 - val_acc: 0.9229\n",
      "Epoch 1647/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0847 - acc: 0.9599 - val_loss: 0.1102 - val_acc: 0.9513\n",
      "Epoch 1648/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0847 - acc: 0.9604 - val_loss: 0.0855 - val_acc: 0.9554\n",
      "Epoch 1649/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0863 - acc: 0.9573 - val_loss: 0.1127 - val_acc: 0.9412\n",
      "Epoch 1650/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0781 - acc: 0.9644 - val_loss: 0.1776 - val_acc: 0.9290\n",
      "Epoch 1651/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0878 - acc: 0.9589 - val_loss: 0.1199 - val_acc: 0.9371\n",
      "Epoch 1652/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0889 - acc: 0.9614 - val_loss: 0.0929 - val_acc: 0.9574\n",
      "Epoch 1653/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0785 - acc: 0.9624 - val_loss: 0.0949 - val_acc: 0.9615\n",
      "Epoch 1654/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0786 - acc: 0.9614 - val_loss: 0.1260 - val_acc: 0.9371\n",
      "Epoch 1655/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0908 - acc: 0.9568 - val_loss: 0.0887 - val_acc: 0.9574\n",
      "Epoch 1656/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0872 - acc: 0.9548 - val_loss: 0.2410 - val_acc: 0.9168\n",
      "Epoch 1657/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1083 - acc: 0.9451 - val_loss: 0.1308 - val_acc: 0.9513\n",
      "Epoch 1658/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0805 - acc: 0.9629 - val_loss: 0.2044 - val_acc: 0.9209\n",
      "Epoch 1659/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1005 - acc: 0.9543 - val_loss: 0.1467 - val_acc: 0.9351\n",
      "Epoch 1660/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0791 - acc: 0.9619 - val_loss: 0.1114 - val_acc: 0.9594\n",
      "Epoch 1661/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0817 - acc: 0.9675 - val_loss: 0.0929 - val_acc: 0.9533\n",
      "Epoch 1662/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0813 - acc: 0.9609 - val_loss: 0.0919 - val_acc: 0.9594\n",
      "Epoch 1663/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0765 - acc: 0.9655 - val_loss: 0.1567 - val_acc: 0.9249\n",
      "Epoch 1664/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0836 - acc: 0.9634 - val_loss: 0.1098 - val_acc: 0.9412\n",
      "Epoch 1665/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0836 - acc: 0.9573 - val_loss: 0.1290 - val_acc: 0.9412\n",
      "Epoch 1666/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0971 - acc: 0.9538 - val_loss: 0.0970 - val_acc: 0.9615\n",
      "Epoch 1667/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0820 - acc: 0.9629 - val_loss: 0.1020 - val_acc: 0.9615\n",
      "Epoch 1668/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0835 - acc: 0.9578 - val_loss: 0.1062 - val_acc: 0.9452\n",
      "Epoch 1669/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0927 - acc: 0.9624 - val_loss: 0.1093 - val_acc: 0.9574\n",
      "Epoch 1670/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0810 - acc: 0.9594 - val_loss: 0.1147 - val_acc: 0.9452\n",
      "Epoch 1671/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0855 - acc: 0.9650 - val_loss: 0.0936 - val_acc: 0.9675\n",
      "Epoch 1672/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0852 - acc: 0.9584 - val_loss: 0.0874 - val_acc: 0.9655\n",
      "Epoch 1673/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0830 - acc: 0.9589 - val_loss: 0.1120 - val_acc: 0.9391\n",
      "Epoch 1674/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9594 - val_loss: 0.0962 - val_acc: 0.9635\n",
      "Epoch 1675/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1033 - acc: 0.9507 - val_loss: 0.0881 - val_acc: 0.9615\n",
      "Epoch 1676/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0762 - acc: 0.9675 - val_loss: 0.1570 - val_acc: 0.9331\n",
      "Epoch 1677/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0891 - acc: 0.9584 - val_loss: 0.0950 - val_acc: 0.9513\n",
      "Epoch 1678/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0904 - acc: 0.9558 - val_loss: 0.1118 - val_acc: 0.9513\n",
      "Epoch 1679/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0926 - acc: 0.9594 - val_loss: 0.1098 - val_acc: 0.9554\n",
      "Epoch 1680/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0930 - acc: 0.9573 - val_loss: 0.1328 - val_acc: 0.9513\n",
      "Epoch 1681/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1000 - acc: 0.9487 - val_loss: 0.0871 - val_acc: 0.9675\n",
      "Epoch 1682/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0768 - acc: 0.9629 - val_loss: 0.1140 - val_acc: 0.9513\n",
      "Epoch 1683/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0862 - acc: 0.9558 - val_loss: 0.1073 - val_acc: 0.9452\n",
      "Epoch 1684/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0804 - acc: 0.9584 - val_loss: 0.1080 - val_acc: 0.9594\n",
      "Epoch 1685/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0872 - acc: 0.9609 - val_loss: 0.0934 - val_acc: 0.9615\n",
      "Epoch 1686/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0835 - acc: 0.9665 - val_loss: 0.1164 - val_acc: 0.9452\n",
      "Epoch 1687/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0872 - acc: 0.9619 - val_loss: 0.1393 - val_acc: 0.9432\n",
      "Epoch 1688/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0882 - acc: 0.9594 - val_loss: 0.0904 - val_acc: 0.9473\n",
      "Epoch 1689/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0848 - acc: 0.9578 - val_loss: 0.0861 - val_acc: 0.9574\n",
      "Epoch 1690/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0839 - acc: 0.9584 - val_loss: 0.1045 - val_acc: 0.9473\n",
      "Epoch 1691/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0865 - acc: 0.9563 - val_loss: 0.0990 - val_acc: 0.9554\n",
      "Epoch 1692/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0874 - acc: 0.9548 - val_loss: 0.0967 - val_acc: 0.9533\n",
      "Epoch 1693/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0789 - acc: 0.9629 - val_loss: 0.0854 - val_acc: 0.9696\n",
      "Epoch 1694/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0831 - acc: 0.9604 - val_loss: 0.1513 - val_acc: 0.9371\n",
      "Epoch 1695/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0900 - acc: 0.9604 - val_loss: 0.2378 - val_acc: 0.9189\n",
      "Epoch 1696/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0962 - acc: 0.9563 - val_loss: 0.1295 - val_acc: 0.9533\n",
      "Epoch 1697/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0874 - acc: 0.9553 - val_loss: 0.0870 - val_acc: 0.9675\n",
      "Epoch 1698/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0808 - acc: 0.9609 - val_loss: 0.1390 - val_acc: 0.9371\n",
      "Epoch 1699/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0866 - acc: 0.9624 - val_loss: 0.0961 - val_acc: 0.9554\n",
      "Epoch 1700/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0819 - acc: 0.9578 - val_loss: 0.2200 - val_acc: 0.9209\n",
      "Epoch 1701/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0945 - acc: 0.9594 - val_loss: 0.0904 - val_acc: 0.9696\n",
      "Epoch 1702/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0795 - acc: 0.9650 - val_loss: 0.1095 - val_acc: 0.9533\n",
      "Epoch 1703/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0874 - acc: 0.9563 - val_loss: 0.2273 - val_acc: 0.9209\n",
      "Epoch 1704/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0869 - acc: 0.9584 - val_loss: 0.1054 - val_acc: 0.9554\n",
      "Epoch 1705/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0826 - acc: 0.9650 - val_loss: 0.1369 - val_acc: 0.9310\n",
      "Epoch 1706/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0887 - acc: 0.9563 - val_loss: 0.1265 - val_acc: 0.9371\n",
      "Epoch 1707/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0850 - acc: 0.9589 - val_loss: 0.1172 - val_acc: 0.9391\n",
      "Epoch 1708/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0792 - acc: 0.9589 - val_loss: 0.0884 - val_acc: 0.9675\n",
      "Epoch 1709/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0905 - acc: 0.9558 - val_loss: 0.0955 - val_acc: 0.9574\n",
      "Epoch 1710/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0815 - acc: 0.9589 - val_loss: 0.1101 - val_acc: 0.9615\n",
      "Epoch 1711/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0903 - acc: 0.9553 - val_loss: 0.2328 - val_acc: 0.9229\n",
      "Epoch 1712/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0928 - acc: 0.9538 - val_loss: 0.0864 - val_acc: 0.9655\n",
      "Epoch 1713/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0962 - acc: 0.9528 - val_loss: 0.0984 - val_acc: 0.9493\n",
      "Epoch 1714/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0816 - acc: 0.9609 - val_loss: 0.1230 - val_acc: 0.9331\n",
      "Epoch 1715/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0769 - acc: 0.9639 - val_loss: 0.1067 - val_acc: 0.9635\n",
      "Epoch 1716/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0783 - acc: 0.9644 - val_loss: 0.0965 - val_acc: 0.9615\n",
      "Epoch 1717/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0872 - acc: 0.9639 - val_loss: 0.1088 - val_acc: 0.9452\n",
      "Epoch 1718/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0876 - acc: 0.9553 - val_loss: 0.2555 - val_acc: 0.9229\n",
      "Epoch 1719/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0902 - acc: 0.9584 - val_loss: 0.1005 - val_acc: 0.9533\n",
      "Epoch 1720/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0985 - acc: 0.9492 - val_loss: 0.1307 - val_acc: 0.9432\n",
      "Epoch 1721/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0855 - acc: 0.9578 - val_loss: 0.1145 - val_acc: 0.9432\n",
      "Epoch 1722/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0788 - acc: 0.9609 - val_loss: 0.0880 - val_acc: 0.9635\n",
      "Epoch 1723/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0938 - acc: 0.9497 - val_loss: 0.2107 - val_acc: 0.9229\n",
      "Epoch 1724/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0882 - acc: 0.9594 - val_loss: 0.0948 - val_acc: 0.9594\n",
      "Epoch 1725/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0801 - acc: 0.9604 - val_loss: 0.0906 - val_acc: 0.9554\n",
      "Epoch 1726/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1056 - acc: 0.9482 - val_loss: 0.0964 - val_acc: 0.9716\n",
      "Epoch 1727/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0867 - acc: 0.9599 - val_loss: 0.1549 - val_acc: 0.9371\n",
      "Epoch 1728/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0908 - acc: 0.9573 - val_loss: 0.0926 - val_acc: 0.9554\n",
      "Epoch 1729/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0789 - acc: 0.9629 - val_loss: 0.1247 - val_acc: 0.9432\n",
      "Epoch 1730/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0863 - acc: 0.9578 - val_loss: 0.0925 - val_acc: 0.9655\n",
      "Epoch 1731/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0788 - acc: 0.9644 - val_loss: 0.0958 - val_acc: 0.9594\n",
      "Epoch 1732/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0762 - acc: 0.9675 - val_loss: 0.2172 - val_acc: 0.9229\n",
      "Epoch 1733/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0915 - acc: 0.9573 - val_loss: 0.1529 - val_acc: 0.9290\n",
      "Epoch 1734/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0910 - acc: 0.9548 - val_loss: 0.1121 - val_acc: 0.9533\n",
      "Epoch 1735/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0775 - acc: 0.9609 - val_loss: 0.0903 - val_acc: 0.9493\n",
      "Epoch 1736/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0831 - acc: 0.9614 - val_loss: 0.0930 - val_acc: 0.9574\n",
      "Epoch 1737/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0799 - acc: 0.9553 - val_loss: 0.1292 - val_acc: 0.9513\n",
      "Epoch 1738/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0794 - acc: 0.9650 - val_loss: 0.1366 - val_acc: 0.9412\n",
      "Epoch 1739/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0838 - acc: 0.9619 - val_loss: 0.0853 - val_acc: 0.9675\n",
      "Epoch 1740/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0791 - acc: 0.9644 - val_loss: 0.0914 - val_acc: 0.9655\n",
      "Epoch 1741/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0877 - acc: 0.9604 - val_loss: 0.1070 - val_acc: 0.9452\n",
      "Epoch 1742/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0770 - acc: 0.9639 - val_loss: 0.2040 - val_acc: 0.9290\n",
      "Epoch 1743/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0926 - acc: 0.9594 - val_loss: 0.1194 - val_acc: 0.9452\n",
      "Epoch 1744/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0855 - acc: 0.9619 - val_loss: 0.0963 - val_acc: 0.9493\n",
      "Epoch 1745/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0787 - acc: 0.9650 - val_loss: 0.1698 - val_acc: 0.9270\n",
      "Epoch 1746/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0901 - acc: 0.9563 - val_loss: 0.1117 - val_acc: 0.9493\n",
      "Epoch 1747/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0869 - acc: 0.9609 - val_loss: 0.0917 - val_acc: 0.9675\n",
      "Epoch 1748/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0804 - acc: 0.9639 - val_loss: 0.1069 - val_acc: 0.9533\n",
      "Epoch 1749/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0844 - acc: 0.9619 - val_loss: 0.0870 - val_acc: 0.9655\n",
      "Epoch 1750/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0910 - acc: 0.9558 - val_loss: 0.0986 - val_acc: 0.9615\n",
      "Epoch 1751/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0752 - acc: 0.9650 - val_loss: 0.1249 - val_acc: 0.9391\n",
      "Epoch 1752/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0864 - acc: 0.9589 - val_loss: 0.0928 - val_acc: 0.9675\n",
      "Epoch 1753/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0881 - acc: 0.9624 - val_loss: 0.1447 - val_acc: 0.9310\n",
      "Epoch 1754/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0830 - acc: 0.9634 - val_loss: 0.0922 - val_acc: 0.9554\n",
      "Epoch 1755/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0807 - acc: 0.9609 - val_loss: 0.1057 - val_acc: 0.9473\n",
      "Epoch 1756/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0865 - acc: 0.9599 - val_loss: 0.1064 - val_acc: 0.9473\n",
      "Epoch 1757/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0738 - acc: 0.9655 - val_loss: 0.1399 - val_acc: 0.9432\n",
      "Epoch 1758/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0767 - acc: 0.9604 - val_loss: 0.1035 - val_acc: 0.9635\n",
      "Epoch 1759/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0847 - acc: 0.9604 - val_loss: 0.0968 - val_acc: 0.9635\n",
      "Epoch 1760/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1034 - acc: 0.9518 - val_loss: 0.0895 - val_acc: 0.9615\n",
      "Epoch 1761/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0852 - acc: 0.9614 - val_loss: 0.1363 - val_acc: 0.9331\n",
      "Epoch 1762/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1063 - acc: 0.9538 - val_loss: 0.0868 - val_acc: 0.9635\n",
      "Epoch 1763/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0838 - acc: 0.9578 - val_loss: 0.0861 - val_acc: 0.9635\n",
      "Epoch 1764/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0883 - acc: 0.9543 - val_loss: 0.0905 - val_acc: 0.9696\n",
      "Epoch 1765/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0863 - acc: 0.9538 - val_loss: 0.1038 - val_acc: 0.9432\n",
      "Epoch 1766/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0820 - acc: 0.9584 - val_loss: 0.1762 - val_acc: 0.9391\n",
      "Epoch 1767/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0866 - acc: 0.9614 - val_loss: 0.1792 - val_acc: 0.9270\n",
      "Epoch 1768/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0876 - acc: 0.9584 - val_loss: 0.1284 - val_acc: 0.9351\n",
      "Epoch 1769/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0886 - acc: 0.9563 - val_loss: 0.1887 - val_acc: 0.9249\n",
      "Epoch 1770/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1013 - acc: 0.9523 - val_loss: 0.0885 - val_acc: 0.9675\n",
      "Epoch 1771/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0961 - acc: 0.9543 - val_loss: 0.2591 - val_acc: 0.9168\n",
      "Epoch 1772/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0871 - acc: 0.9634 - val_loss: 0.0861 - val_acc: 0.9716\n",
      "Epoch 1773/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0878 - acc: 0.9563 - val_loss: 0.3309 - val_acc: 0.9108\n",
      "Epoch 1774/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0921 - acc: 0.9553 - val_loss: 0.1096 - val_acc: 0.9635\n",
      "Epoch 1775/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0747 - acc: 0.9680 - val_loss: 0.0973 - val_acc: 0.9513\n",
      "Epoch 1776/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0797 - acc: 0.9584 - val_loss: 0.1055 - val_acc: 0.9473\n",
      "Epoch 1777/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0767 - acc: 0.9680 - val_loss: 0.1106 - val_acc: 0.9594\n",
      "Epoch 1778/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0907 - acc: 0.9594 - val_loss: 0.1416 - val_acc: 0.9331\n",
      "Epoch 1779/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0850 - acc: 0.9619 - val_loss: 0.0919 - val_acc: 0.9574\n",
      "Epoch 1780/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0824 - acc: 0.9599 - val_loss: 0.1953 - val_acc: 0.9249\n",
      "Epoch 1781/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0833 - acc: 0.9639 - val_loss: 0.1147 - val_acc: 0.9452\n",
      "Epoch 1782/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9619 - val_loss: 0.0876 - val_acc: 0.9635\n",
      "Epoch 1783/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0847 - acc: 0.9548 - val_loss: 0.1633 - val_acc: 0.9310\n",
      "Epoch 1784/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0770 - acc: 0.9619 - val_loss: 0.1041 - val_acc: 0.9594\n",
      "Epoch 1785/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0881 - acc: 0.9563 - val_loss: 0.1337 - val_acc: 0.9452\n",
      "Epoch 1786/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0957 - acc: 0.9558 - val_loss: 0.2171 - val_acc: 0.9168\n",
      "Epoch 1787/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0833 - acc: 0.9624 - val_loss: 0.1674 - val_acc: 0.9351\n",
      "Epoch 1788/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0815 - acc: 0.9594 - val_loss: 0.0950 - val_acc: 0.9594\n",
      "Epoch 1789/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0903 - acc: 0.9589 - val_loss: 0.1363 - val_acc: 0.9351\n",
      "Epoch 1790/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0828 - acc: 0.9644 - val_loss: 0.1035 - val_acc: 0.9615\n",
      "Epoch 1791/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0808 - acc: 0.9655 - val_loss: 0.1171 - val_acc: 0.9452\n",
      "Epoch 1792/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0926 - acc: 0.9584 - val_loss: 0.1245 - val_acc: 0.9351\n",
      "Epoch 1793/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0824 - acc: 0.9614 - val_loss: 0.1330 - val_acc: 0.9371\n",
      "Epoch 1794/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0863 - acc: 0.9589 - val_loss: 0.0947 - val_acc: 0.9635\n",
      "Epoch 1795/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0792 - acc: 0.9639 - val_loss: 0.1256 - val_acc: 0.9473\n",
      "Epoch 1796/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0794 - acc: 0.9639 - val_loss: 0.1058 - val_acc: 0.9554\n",
      "Epoch 1797/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0809 - acc: 0.9619 - val_loss: 0.1218 - val_acc: 0.9513\n",
      "Epoch 1798/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0798 - acc: 0.9624 - val_loss: 0.1051 - val_acc: 0.9473\n",
      "Epoch 1799/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0764 - acc: 0.9644 - val_loss: 0.0894 - val_acc: 0.9594\n",
      "Epoch 1800/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0894 - acc: 0.9558 - val_loss: 0.0910 - val_acc: 0.9635\n",
      "Epoch 1801/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0856 - acc: 0.9604 - val_loss: 0.1016 - val_acc: 0.9574\n",
      "Epoch 1802/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0787 - acc: 0.9629 - val_loss: 0.0917 - val_acc: 0.9554\n",
      "Epoch 1803/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9619 - val_loss: 0.1110 - val_acc: 0.9432\n",
      "Epoch 1804/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0885 - acc: 0.9563 - val_loss: 0.2026 - val_acc: 0.9249\n",
      "Epoch 1805/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0912 - acc: 0.9563 - val_loss: 0.0914 - val_acc: 0.9655\n",
      "Epoch 1806/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0794 - acc: 0.9589 - val_loss: 0.1373 - val_acc: 0.9351\n",
      "Epoch 1807/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0801 - acc: 0.9614 - val_loss: 0.1362 - val_acc: 0.9371\n",
      "Epoch 1808/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0762 - acc: 0.9634 - val_loss: 0.1316 - val_acc: 0.9391\n",
      "Epoch 1809/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0886 - acc: 0.9604 - val_loss: 0.2363 - val_acc: 0.9229\n",
      "Epoch 1810/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0895 - acc: 0.9573 - val_loss: 0.1262 - val_acc: 0.9391\n",
      "Epoch 1811/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0792 - acc: 0.9624 - val_loss: 0.0954 - val_acc: 0.9452\n",
      "Epoch 1812/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0929 - acc: 0.9568 - val_loss: 0.0959 - val_acc: 0.9594\n",
      "Epoch 1813/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0773 - acc: 0.9644 - val_loss: 0.0899 - val_acc: 0.9615\n",
      "Epoch 1814/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0866 - acc: 0.9609 - val_loss: 0.0886 - val_acc: 0.9615\n",
      "Epoch 1815/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0889 - acc: 0.9543 - val_loss: 0.1255 - val_acc: 0.9533\n",
      "Epoch 1816/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0845 - acc: 0.9604 - val_loss: 0.0964 - val_acc: 0.9635\n",
      "Epoch 1817/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0819 - acc: 0.9619 - val_loss: 0.0850 - val_acc: 0.9675\n",
      "Epoch 1818/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0847 - acc: 0.9644 - val_loss: 0.0941 - val_acc: 0.9635\n",
      "Epoch 1819/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0831 - acc: 0.9624 - val_loss: 0.1333 - val_acc: 0.9310\n",
      "Epoch 1820/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0819 - acc: 0.9599 - val_loss: 0.1543 - val_acc: 0.9270\n",
      "Epoch 1821/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0815 - acc: 0.9584 - val_loss: 0.0982 - val_acc: 0.9513\n",
      "Epoch 1822/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0808 - acc: 0.9619 - val_loss: 0.1120 - val_acc: 0.9493\n",
      "Epoch 1823/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0961 - acc: 0.9644 - val_loss: 0.0953 - val_acc: 0.9554\n",
      "Epoch 1824/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0829 - acc: 0.9589 - val_loss: 0.1086 - val_acc: 0.9452\n",
      "Epoch 1825/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0832 - acc: 0.9584 - val_loss: 0.0964 - val_acc: 0.9675\n",
      "Epoch 1826/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0923 - acc: 0.9568 - val_loss: 0.0979 - val_acc: 0.9554\n",
      "Epoch 1827/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0766 - acc: 0.9660 - val_loss: 0.1012 - val_acc: 0.9533\n",
      "Epoch 1828/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0783 - acc: 0.9644 - val_loss: 0.1067 - val_acc: 0.9594\n",
      "Epoch 1829/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0805 - acc: 0.9644 - val_loss: 0.0830 - val_acc: 0.9696\n",
      "Epoch 1830/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0962 - acc: 0.9548 - val_loss: 0.2123 - val_acc: 0.9270\n",
      "Epoch 1831/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0848 - acc: 0.9594 - val_loss: 0.1310 - val_acc: 0.9331\n",
      "Epoch 1832/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0754 - acc: 0.9670 - val_loss: 0.1178 - val_acc: 0.9493\n",
      "Epoch 1833/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0811 - acc: 0.9599 - val_loss: 0.0985 - val_acc: 0.9554\n",
      "Epoch 1834/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0813 - acc: 0.9624 - val_loss: 0.1065 - val_acc: 0.9615\n",
      "Epoch 1835/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0862 - acc: 0.9589 - val_loss: 0.1425 - val_acc: 0.9331\n",
      "Epoch 1836/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0850 - acc: 0.9599 - val_loss: 0.0904 - val_acc: 0.9696\n",
      "Epoch 1837/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0813 - acc: 0.9578 - val_loss: 0.1086 - val_acc: 0.9473\n",
      "Epoch 1838/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0715 - acc: 0.9660 - val_loss: 0.0980 - val_acc: 0.9533\n",
      "Epoch 1839/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0846 - acc: 0.9599 - val_loss: 0.1226 - val_acc: 0.9432\n",
      "Epoch 1840/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0965 - acc: 0.9518 - val_loss: 0.1072 - val_acc: 0.9513\n",
      "Epoch 1841/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0863 - acc: 0.9594 - val_loss: 0.1784 - val_acc: 0.9270\n",
      "Epoch 1842/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0986 - acc: 0.9538 - val_loss: 0.1081 - val_acc: 0.9574\n",
      "Epoch 1843/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0795 - acc: 0.9680 - val_loss: 0.0995 - val_acc: 0.9554\n",
      "Epoch 1844/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0800 - acc: 0.9589 - val_loss: 0.1002 - val_acc: 0.9493\n",
      "Epoch 1845/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0811 - acc: 0.9594 - val_loss: 0.1066 - val_acc: 0.9473\n",
      "Epoch 1846/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0818 - acc: 0.9604 - val_loss: 0.1814 - val_acc: 0.9270\n",
      "Epoch 1847/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0913 - acc: 0.9578 - val_loss: 0.0951 - val_acc: 0.9574\n",
      "Epoch 1848/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0802 - acc: 0.9634 - val_loss: 0.1404 - val_acc: 0.9371\n",
      "Epoch 1849/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0791 - acc: 0.9655 - val_loss: 0.0915 - val_acc: 0.9594\n",
      "Epoch 1850/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0739 - acc: 0.9644 - val_loss: 0.0978 - val_acc: 0.9513\n",
      "Epoch 1851/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0780 - acc: 0.9619 - val_loss: 0.0927 - val_acc: 0.9594\n",
      "Epoch 1852/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0851 - acc: 0.9604 - val_loss: 0.1019 - val_acc: 0.9615\n",
      "Epoch 1853/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0804 - acc: 0.9619 - val_loss: 0.0905 - val_acc: 0.9696\n",
      "Epoch 1854/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0821 - acc: 0.9614 - val_loss: 0.1320 - val_acc: 0.9371\n",
      "Epoch 1855/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0841 - acc: 0.9604 - val_loss: 0.0872 - val_acc: 0.9655\n",
      "Epoch 1856/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0816 - acc: 0.9594 - val_loss: 0.1300 - val_acc: 0.9412\n",
      "Epoch 1857/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0900 - acc: 0.9594 - val_loss: 0.1520 - val_acc: 0.9391\n",
      "Epoch 1858/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0864 - acc: 0.9604 - val_loss: 0.1312 - val_acc: 0.9351\n",
      "Epoch 1859/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0917 - acc: 0.9558 - val_loss: 0.0926 - val_acc: 0.9615\n",
      "Epoch 1860/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0818 - acc: 0.9599 - val_loss: 0.2290 - val_acc: 0.9168\n",
      "Epoch 1861/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0867 - acc: 0.9604 - val_loss: 0.1222 - val_acc: 0.9412\n",
      "Epoch 1862/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0800 - acc: 0.9609 - val_loss: 0.1055 - val_acc: 0.9554\n",
      "Epoch 1863/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0725 - acc: 0.9639 - val_loss: 0.1491 - val_acc: 0.9371\n",
      "Epoch 1864/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0920 - acc: 0.9502 - val_loss: 0.0937 - val_acc: 0.9655\n",
      "Epoch 1865/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0806 - acc: 0.9599 - val_loss: 0.1562 - val_acc: 0.9270\n",
      "Epoch 1866/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0774 - acc: 0.9650 - val_loss: 0.1297 - val_acc: 0.9391\n",
      "Epoch 1867/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0896 - acc: 0.9573 - val_loss: 0.1609 - val_acc: 0.9391\n",
      "Epoch 1868/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0817 - acc: 0.9589 - val_loss: 0.0917 - val_acc: 0.9513\n",
      "Epoch 1869/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0794 - acc: 0.9614 - val_loss: 0.0873 - val_acc: 0.9615\n",
      "Epoch 1870/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0735 - acc: 0.9660 - val_loss: 0.1000 - val_acc: 0.9675\n",
      "Epoch 1871/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0719 - acc: 0.9675 - val_loss: 0.1297 - val_acc: 0.9493\n",
      "Epoch 1872/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0805 - acc: 0.9624 - val_loss: 0.1391 - val_acc: 0.9310\n",
      "Epoch 1873/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0819 - acc: 0.9594 - val_loss: 0.0919 - val_acc: 0.9574\n",
      "Epoch 1874/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0816 - acc: 0.9619 - val_loss: 0.0861 - val_acc: 0.9655\n",
      "Epoch 1875/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0857 - acc: 0.9604 - val_loss: 0.1052 - val_acc: 0.9513\n",
      "Epoch 1876/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0908 - acc: 0.9563 - val_loss: 0.1232 - val_acc: 0.9351\n",
      "Epoch 1877/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0939 - acc: 0.9543 - val_loss: 0.1147 - val_acc: 0.9554\n",
      "Epoch 1878/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0835 - acc: 0.9599 - val_loss: 0.1586 - val_acc: 0.9290\n",
      "Epoch 1879/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0854 - acc: 0.9599 - val_loss: 0.0895 - val_acc: 0.9696\n",
      "Epoch 1880/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0934 - acc: 0.9538 - val_loss: 0.0931 - val_acc: 0.9594\n",
      "Epoch 1881/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0807 - acc: 0.9629 - val_loss: 0.1017 - val_acc: 0.9635\n",
      "Epoch 1882/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0885 - acc: 0.9553 - val_loss: 0.0957 - val_acc: 0.9615\n",
      "Epoch 1883/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0815 - acc: 0.9655 - val_loss: 0.0940 - val_acc: 0.9594\n",
      "Epoch 1884/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0939 - acc: 0.9599 - val_loss: 0.0864 - val_acc: 0.9675\n",
      "Epoch 1885/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9660 - val_loss: 0.1101 - val_acc: 0.9554\n",
      "Epoch 1886/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0831 - acc: 0.9594 - val_loss: 0.1198 - val_acc: 0.9432\n",
      "Epoch 1887/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9675 - val_loss: 0.1779 - val_acc: 0.9270\n",
      "Epoch 1888/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0816 - acc: 0.9624 - val_loss: 0.1044 - val_acc: 0.9513\n",
      "Epoch 1889/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0755 - acc: 0.9634 - val_loss: 0.1805 - val_acc: 0.9270\n",
      "Epoch 1890/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0911 - acc: 0.9573 - val_loss: 0.0963 - val_acc: 0.9655\n",
      "Epoch 1891/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0832 - acc: 0.9594 - val_loss: 0.0903 - val_acc: 0.9696\n",
      "Epoch 1892/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0812 - acc: 0.9614 - val_loss: 0.1151 - val_acc: 0.9452\n",
      "Epoch 1893/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0773 - acc: 0.9650 - val_loss: 0.0946 - val_acc: 0.9533\n",
      "Epoch 1894/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0867 - acc: 0.9599 - val_loss: 0.1022 - val_acc: 0.9493\n",
      "Epoch 1895/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0754 - acc: 0.9650 - val_loss: 0.1002 - val_acc: 0.9615\n",
      "Epoch 1896/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0844 - acc: 0.9573 - val_loss: 0.0971 - val_acc: 0.9635\n",
      "Epoch 1897/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0824 - acc: 0.9604 - val_loss: 0.0897 - val_acc: 0.9615\n",
      "Epoch 1898/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0951 - acc: 0.9523 - val_loss: 0.1003 - val_acc: 0.9615\n",
      "Epoch 1899/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0796 - acc: 0.9639 - val_loss: 0.1613 - val_acc: 0.9371\n",
      "Epoch 1900/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0817 - acc: 0.9578 - val_loss: 0.1521 - val_acc: 0.9432\n",
      "Epoch 1901/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0799 - acc: 0.9604 - val_loss: 0.1741 - val_acc: 0.9371\n",
      "Epoch 1902/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0922 - acc: 0.9604 - val_loss: 0.0948 - val_acc: 0.9716\n",
      "Epoch 1903/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0757 - acc: 0.9660 - val_loss: 0.1805 - val_acc: 0.9331\n",
      "Epoch 1904/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0837 - acc: 0.9644 - val_loss: 0.1053 - val_acc: 0.9574\n",
      "Epoch 1905/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0798 - acc: 0.9614 - val_loss: 0.1119 - val_acc: 0.9493\n",
      "Epoch 1906/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0722 - acc: 0.9644 - val_loss: 0.1017 - val_acc: 0.9594\n",
      "Epoch 1907/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0811 - acc: 0.9639 - val_loss: 0.1859 - val_acc: 0.9391\n",
      "Epoch 1908/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0890 - acc: 0.9553 - val_loss: 0.1025 - val_acc: 0.9574\n",
      "Epoch 1909/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0777 - acc: 0.9589 - val_loss: 0.1004 - val_acc: 0.9513\n",
      "Epoch 1910/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0747 - acc: 0.9655 - val_loss: 0.0906 - val_acc: 0.9615\n",
      "Epoch 1911/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0908 - acc: 0.9563 - val_loss: 0.0936 - val_acc: 0.9655\n",
      "Epoch 1912/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0766 - acc: 0.9660 - val_loss: 0.1037 - val_acc: 0.9615\n",
      "Epoch 1913/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0754 - acc: 0.9675 - val_loss: 0.1903 - val_acc: 0.9249\n",
      "Epoch 1914/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0820 - acc: 0.9568 - val_loss: 0.0996 - val_acc: 0.9655\n",
      "Epoch 1915/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0793 - acc: 0.9614 - val_loss: 0.0896 - val_acc: 0.9635\n",
      "Epoch 1916/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0796 - acc: 0.9650 - val_loss: 0.1031 - val_acc: 0.9615\n",
      "Epoch 1917/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0910 - acc: 0.9589 - val_loss: 0.0955 - val_acc: 0.9615\n",
      "Epoch 1918/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0838 - acc: 0.9644 - val_loss: 0.0955 - val_acc: 0.9615\n",
      "Epoch 1919/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0780 - acc: 0.9624 - val_loss: 0.1178 - val_acc: 0.9493\n",
      "Epoch 1920/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0803 - acc: 0.9624 - val_loss: 0.0859 - val_acc: 0.9655\n",
      "Epoch 1921/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0829 - acc: 0.9614 - val_loss: 0.1421 - val_acc: 0.9351\n",
      "Epoch 1922/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0876 - acc: 0.9599 - val_loss: 0.0954 - val_acc: 0.9615\n",
      "Epoch 1923/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0789 - acc: 0.9650 - val_loss: 0.1545 - val_acc: 0.9391\n",
      "Epoch 1924/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0826 - acc: 0.9599 - val_loss: 0.2090 - val_acc: 0.9249\n",
      "Epoch 1925/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0985 - acc: 0.9538 - val_loss: 0.1002 - val_acc: 0.9635\n",
      "Epoch 1926/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1224 - acc: 0.937 - 0s - loss: 0.0761 - acc: 0.9639 - val_loss: 0.0902 - val_acc: 0.9655\n",
      "Epoch 1927/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0476 - acc: 0.984 - 0s - loss: 0.0753 - acc: 0.9665 - val_loss: 0.1729 - val_acc: 0.9371\n",
      "Epoch 1928/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0975 - acc: 0.9558 - val_loss: 0.0869 - val_acc: 0.9716\n",
      "Epoch 1929/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0782 - acc: 0.9639 - val_loss: 0.1158 - val_acc: 0.9432\n",
      "Epoch 1930/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0734 - acc: 0.9680 - val_loss: 0.1673 - val_acc: 0.9290\n",
      "Epoch 1931/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0990 - acc: 0.9528 - val_loss: 0.0955 - val_acc: 0.9675\n",
      "Epoch 1932/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0782 - acc: 0.968 - 0s - loss: 0.0899 - acc: 0.9528 - val_loss: 0.1091 - val_acc: 0.9493\n",
      "Epoch 1933/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0755 - acc: 0.9670 - val_loss: 0.1001 - val_acc: 0.9655\n",
      "Epoch 1934/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0807 - acc: 0.9629 - val_loss: 0.0922 - val_acc: 0.9696\n",
      "Epoch 1935/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0798 - acc: 0.9660 - val_loss: 0.0987 - val_acc: 0.9554\n",
      "Epoch 1936/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0852 - acc: 0.9609 - val_loss: 0.0910 - val_acc: 0.9594\n",
      "Epoch 1937/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0818 - acc: 0.9639 - val_loss: 0.0968 - val_acc: 0.9554\n",
      "Epoch 1938/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0866 - acc: 0.9584 - val_loss: 0.0930 - val_acc: 0.9594\n",
      "Epoch 1939/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0551 - acc: 0.992 - 0s - loss: 0.0720 - acc: 0.9690 - val_loss: 0.1228 - val_acc: 0.9371\n",
      "Epoch 1940/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0811 - acc: 0.9594 - val_loss: 0.1168 - val_acc: 0.9412\n",
      "Epoch 1941/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0841 - acc: 0.9594 - val_loss: 0.1113 - val_acc: 0.9533\n",
      "Epoch 1942/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0882 - acc: 0.9584 - val_loss: 0.1005 - val_acc: 0.9635\n",
      "Epoch 1943/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1018 - acc: 0.953 - 0s - loss: 0.0787 - acc: 0.9634 - val_loss: 0.0959 - val_acc: 0.9554\n",
      "Epoch 1944/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0786 - acc: 0.9655 - val_loss: 0.1210 - val_acc: 0.9473\n",
      "Epoch 1945/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0836 - acc: 0.9578 - val_loss: 0.0847 - val_acc: 0.9635\n",
      "Epoch 1946/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0903 - acc: 0.9563 - val_loss: 0.1078 - val_acc: 0.9594\n",
      "Epoch 1947/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0800 - acc: 0.9624 - val_loss: 0.1726 - val_acc: 0.9351\n",
      "Epoch 1948/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0895 - acc: 0.9609 - val_loss: 0.1102 - val_acc: 0.9493\n",
      "Epoch 1949/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0773 - acc: 0.9629 - val_loss: 0.1426 - val_acc: 0.9351\n",
      "Epoch 1950/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0792 - acc: 0.9634 - val_loss: 0.0934 - val_acc: 0.9554\n",
      "Epoch 1951/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0761 - acc: 0.9670 - val_loss: 0.1000 - val_acc: 0.9513\n",
      "Epoch 1952/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9634 - val_loss: 0.0950 - val_acc: 0.9574\n",
      "Epoch 1953/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0810 - acc: 0.9619 - val_loss: 0.1022 - val_acc: 0.9655\n",
      "Epoch 1954/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0823 - acc: 0.9599 - val_loss: 0.1209 - val_acc: 0.9391\n",
      "Epoch 1955/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0893 - acc: 0.9609 - val_loss: 0.1420 - val_acc: 0.9391\n",
      "Epoch 1956/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0842 - acc: 0.9589 - val_loss: 0.0866 - val_acc: 0.9655\n",
      "Epoch 1957/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0846 - acc: 0.9594 - val_loss: 0.1249 - val_acc: 0.9371\n",
      "Epoch 1958/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0752 - acc: 0.9690 - val_loss: 0.0991 - val_acc: 0.9655\n",
      "Epoch 1959/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0834 - acc: 0.9609 - val_loss: 0.1310 - val_acc: 0.9412\n",
      "Epoch 1960/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0760 - acc: 0.961 - 0s - loss: 0.0737 - acc: 0.9639 - val_loss: 0.4136 - val_acc: 0.8884\n",
      "Epoch 1961/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0926 - acc: 0.9589 - val_loss: 0.1464 - val_acc: 0.9331\n",
      "Epoch 1962/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0869 - acc: 0.9644 - val_loss: 0.0843 - val_acc: 0.9675\n",
      "Epoch 1963/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0761 - acc: 0.9660 - val_loss: 0.0863 - val_acc: 0.9655\n",
      "Epoch 1964/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0813 - acc: 0.9604 - val_loss: 0.1022 - val_acc: 0.9594\n",
      "Epoch 1965/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0829 - acc: 0.9584 - val_loss: 0.1016 - val_acc: 0.9513\n",
      "Epoch 1966/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0710 - acc: 0.9695 - val_loss: 0.1274 - val_acc: 0.9452\n",
      "Epoch 1967/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0855 - acc: 0.9609 - val_loss: 0.1302 - val_acc: 0.9452\n",
      "Epoch 1968/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0872 - acc: 0.9599 - val_loss: 0.1267 - val_acc: 0.9391\n",
      "Epoch 1969/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0782 - acc: 0.9619 - val_loss: 0.1216 - val_acc: 0.9554\n",
      "Epoch 1970/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0847 - acc: 0.9594 - val_loss: 0.0976 - val_acc: 0.9635\n",
      "Epoch 1971/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0861 - acc: 0.9594 - val_loss: 0.1670 - val_acc: 0.9391\n",
      "Epoch 1972/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0816 - acc: 0.9599 - val_loss: 0.0995 - val_acc: 0.9615\n",
      "Epoch 1973/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0840 - acc: 0.9624 - val_loss: 0.0919 - val_acc: 0.9574\n",
      "Epoch 1974/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0876 - acc: 0.9614 - val_loss: 0.0871 - val_acc: 0.9675\n",
      "Epoch 1975/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0811 - acc: 0.9604 - val_loss: 0.1275 - val_acc: 0.9452\n",
      "Epoch 1976/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0857 - acc: 0.9644 - val_loss: 0.1166 - val_acc: 0.9432\n",
      "Epoch 1977/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0761 - acc: 0.9690 - val_loss: 0.0974 - val_acc: 0.9675\n",
      "Epoch 1978/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9609 - val_loss: 0.0964 - val_acc: 0.9655\n",
      "Epoch 1979/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0755 - acc: 0.9644 - val_loss: 0.1658 - val_acc: 0.9331\n",
      "Epoch 1980/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0853 - acc: 0.9568 - val_loss: 0.1715 - val_acc: 0.9371\n",
      "Epoch 1981/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0840 - acc: 0.9624 - val_loss: 0.1007 - val_acc: 0.9554\n",
      "Epoch 1982/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0814 - acc: 0.9573 - val_loss: 0.1171 - val_acc: 0.9574\n",
      "Epoch 1983/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0792 - acc: 0.9614 - val_loss: 0.1250 - val_acc: 0.9473\n",
      "Epoch 1984/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0774 - acc: 0.9614 - val_loss: 0.1588 - val_acc: 0.9290\n",
      "Epoch 1985/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0901 - acc: 0.9584 - val_loss: 0.1549 - val_acc: 0.9290\n",
      "Epoch 1986/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0924 - acc: 0.9558 - val_loss: 0.1170 - val_acc: 0.9412\n",
      "Epoch 1987/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0851 - acc: 0.9599 - val_loss: 0.0869 - val_acc: 0.9615\n",
      "Epoch 1988/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1008 - acc: 0.976 - 0s - loss: 0.0830 - acc: 0.9624 - val_loss: 0.1284 - val_acc: 0.9371\n",
      "Epoch 1989/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0761 - acc: 0.9660 - val_loss: 0.0933 - val_acc: 0.9655\n",
      "Epoch 1990/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9690 - val_loss: 0.0939 - val_acc: 0.9594\n",
      "Epoch 1991/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1240 - acc: 0.953 - 0s - loss: 0.0853 - acc: 0.9573 - val_loss: 0.0918 - val_acc: 0.9716\n",
      "Epoch 1992/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0930 - acc: 0.9609 - val_loss: 0.0995 - val_acc: 0.9635\n",
      "Epoch 1993/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0735 - acc: 0.9624 - val_loss: 0.1056 - val_acc: 0.9513\n",
      "Epoch 1994/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0896 - acc: 0.9538 - val_loss: 0.1039 - val_acc: 0.9452\n",
      "Epoch 1995/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0805 - acc: 0.9670 - val_loss: 0.0858 - val_acc: 0.9736\n",
      "Epoch 1996/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0734 - acc: 0.9685 - val_loss: 0.0954 - val_acc: 0.9635\n",
      "Epoch 1997/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0910 - acc: 0.9523 - val_loss: 0.0847 - val_acc: 0.9675\n",
      "Epoch 1998/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0759 - acc: 0.9680 - val_loss: 0.1255 - val_acc: 0.9371\n",
      "Epoch 1999/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0821 - acc: 0.9629 - val_loss: 0.0912 - val_acc: 0.9696\n",
      "Epoch 2000/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0760 - acc: 0.9619 - val_loss: 0.0937 - val_acc: 0.9554\n",
      "Epoch 2001/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0812 - acc: 0.9619 - val_loss: 0.1387 - val_acc: 0.9351\n",
      "Epoch 2002/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0837 - acc: 0.9644 - val_loss: 0.1123 - val_acc: 0.9432\n",
      "Epoch 2003/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0862 - acc: 0.9639 - val_loss: 0.1010 - val_acc: 0.9513\n",
      "Epoch 2004/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0752 - acc: 0.9634 - val_loss: 0.0876 - val_acc: 0.9574\n",
      "Epoch 2005/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0818 - acc: 0.9624 - val_loss: 0.1697 - val_acc: 0.9412\n",
      "Epoch 2006/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0897 - acc: 0.9589 - val_loss: 0.0847 - val_acc: 0.9716\n",
      "Epoch 2007/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0791 - acc: 0.9594 - val_loss: 0.1060 - val_acc: 0.9554\n",
      "Epoch 2008/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0769 - acc: 0.9634 - val_loss: 0.0968 - val_acc: 0.9675\n",
      "Epoch 2009/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0780 - acc: 0.9660 - val_loss: 0.1260 - val_acc: 0.9391\n",
      "Epoch 2010/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0858 - acc: 0.9548 - val_loss: 0.1365 - val_acc: 0.9391\n",
      "Epoch 2011/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0831 - acc: 0.9609 - val_loss: 0.1165 - val_acc: 0.9371\n",
      "Epoch 2012/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0766 - acc: 0.9629 - val_loss: 0.1064 - val_acc: 0.9452\n",
      "Epoch 2013/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0795 - acc: 0.9624 - val_loss: 0.1283 - val_acc: 0.9371\n",
      "Epoch 2014/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0753 - acc: 0.9665 - val_loss: 0.0967 - val_acc: 0.9533\n",
      "Epoch 2015/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0827 - acc: 0.9604 - val_loss: 0.1140 - val_acc: 0.9412\n",
      "Epoch 2016/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0782 - acc: 0.9639 - val_loss: 0.1286 - val_acc: 0.9331\n",
      "Epoch 2017/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0897 - acc: 0.9604 - val_loss: 0.1119 - val_acc: 0.9493\n",
      "Epoch 2018/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0857 - acc: 0.9589 - val_loss: 0.1170 - val_acc: 0.9574\n",
      "Epoch 2019/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0858 - acc: 0.9568 - val_loss: 0.1257 - val_acc: 0.9331\n",
      "Epoch 2020/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0880 - acc: 0.9584 - val_loss: 0.1616 - val_acc: 0.9331\n",
      "Epoch 2021/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0892 - acc: 0.9589 - val_loss: 0.0921 - val_acc: 0.9594\n",
      "Epoch 2022/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0810 - acc: 0.9655 - val_loss: 0.1019 - val_acc: 0.9554\n",
      "Epoch 2023/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9604 - val_loss: 0.0992 - val_acc: 0.9533\n",
      "Epoch 2024/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0813 - acc: 0.9639 - val_loss: 0.1184 - val_acc: 0.9493\n",
      "Epoch 2025/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0820 - acc: 0.9629 - val_loss: 0.3156 - val_acc: 0.9006\n",
      "Epoch 2026/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0862 - acc: 0.9589 - val_loss: 0.0993 - val_acc: 0.9635\n",
      "Epoch 2027/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0893 - acc: 0.9584 - val_loss: 0.0922 - val_acc: 0.9574\n",
      "Epoch 2028/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0745 - acc: 0.9705 - val_loss: 0.2140 - val_acc: 0.9270\n",
      "Epoch 2029/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1119 - acc: 0.9512 - val_loss: 0.1033 - val_acc: 0.9533\n",
      "Epoch 2030/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0730 - acc: 0.9700 - val_loss: 0.0855 - val_acc: 0.9675\n",
      "Epoch 2031/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0818 - acc: 0.9563 - val_loss: 0.0899 - val_acc: 0.9594\n",
      "Epoch 2032/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0714 - acc: 0.9655 - val_loss: 0.0849 - val_acc: 0.9655\n",
      "Epoch 2033/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0846 - acc: 0.9619 - val_loss: 0.0886 - val_acc: 0.9696\n",
      "Epoch 2034/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9594 - val_loss: 0.1322 - val_acc: 0.9412\n",
      "Epoch 2035/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0910 - acc: 0.9553 - val_loss: 0.1479 - val_acc: 0.9391\n",
      "Epoch 2036/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0744 - acc: 0.9639 - val_loss: 0.1061 - val_acc: 0.9473\n",
      "Epoch 2037/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0787 - acc: 0.9619 - val_loss: 0.1766 - val_acc: 0.9331\n",
      "Epoch 2038/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0887 - acc: 0.9573 - val_loss: 0.1380 - val_acc: 0.9391\n",
      "Epoch 2039/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0828 - acc: 0.9614 - val_loss: 0.1121 - val_acc: 0.9513\n",
      "Epoch 2040/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0706 - acc: 0.9655 - val_loss: 0.0963 - val_acc: 0.9554\n",
      "Epoch 2041/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0767 - acc: 0.9670 - val_loss: 0.1079 - val_acc: 0.9574\n",
      "Epoch 2042/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0708 - acc: 0.9675 - val_loss: 0.0864 - val_acc: 0.9594\n",
      "Epoch 2043/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0847 - acc: 0.9604 - val_loss: 0.1187 - val_acc: 0.9533\n",
      "Epoch 2044/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0864 - acc: 0.9604 - val_loss: 0.1748 - val_acc: 0.9391\n",
      "Epoch 2045/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0845 - acc: 0.9650 - val_loss: 0.0968 - val_acc: 0.9594\n",
      "Epoch 2046/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0831 - acc: 0.9594 - val_loss: 0.0875 - val_acc: 0.9635\n",
      "Epoch 2047/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0796 - acc: 0.9660 - val_loss: 0.0851 - val_acc: 0.9696\n",
      "Epoch 2048/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0753 - acc: 0.9619 - val_loss: 0.0943 - val_acc: 0.9635\n",
      "Epoch 2049/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0784 - acc: 0.9644 - val_loss: 0.0999 - val_acc: 0.9675\n",
      "Epoch 2050/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0839 - acc: 0.9594 - val_loss: 0.1176 - val_acc: 0.9513\n",
      "Epoch 2051/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0883 - acc: 0.9563 - val_loss: 0.0956 - val_acc: 0.9635\n",
      "Epoch 2052/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0753 - acc: 0.9639 - val_loss: 0.1072 - val_acc: 0.9594\n",
      "Epoch 2053/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0754 - acc: 0.9619 - val_loss: 0.1667 - val_acc: 0.9351\n",
      "Epoch 2054/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0812 - acc: 0.9639 - val_loss: 0.1298 - val_acc: 0.9493\n",
      "Epoch 2055/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0844 - acc: 0.9599 - val_loss: 0.2023 - val_acc: 0.9249\n",
      "Epoch 2056/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0787 - acc: 0.9639 - val_loss: 0.0953 - val_acc: 0.9675\n",
      "Epoch 2057/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0777 - acc: 0.9614 - val_loss: 0.0936 - val_acc: 0.9655\n",
      "Epoch 2058/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0768 - acc: 0.9670 - val_loss: 0.2050 - val_acc: 0.9209\n",
      "Epoch 2059/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0963 - acc: 0.9528 - val_loss: 0.0937 - val_acc: 0.9675\n",
      "Epoch 2060/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0742 - acc: 0.9655 - val_loss: 0.2072 - val_acc: 0.9270\n",
      "Epoch 2061/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0859 - acc: 0.9589 - val_loss: 0.0983 - val_acc: 0.9655\n",
      "Epoch 2062/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0761 - acc: 0.9629 - val_loss: 0.1343 - val_acc: 0.9452\n",
      "Epoch 2063/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0815 - acc: 0.9553 - val_loss: 0.1693 - val_acc: 0.9270\n",
      "Epoch 2064/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0757 - acc: 0.9690 - val_loss: 0.1008 - val_acc: 0.9554\n",
      "Epoch 2065/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0790 - acc: 0.9624 - val_loss: 0.2029 - val_acc: 0.9331\n",
      "Epoch 2066/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0859 - acc: 0.9614 - val_loss: 0.1074 - val_acc: 0.9594\n",
      "Epoch 2067/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0717 - acc: 0.9690 - val_loss: 0.1318 - val_acc: 0.9391\n",
      "Epoch 2068/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0792 - acc: 0.9655 - val_loss: 0.1058 - val_acc: 0.9513\n",
      "Epoch 2069/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0695 - acc: 0.9680 - val_loss: 0.1168 - val_acc: 0.9533\n",
      "Epoch 2070/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0908 - acc: 0.9563 - val_loss: 0.1489 - val_acc: 0.9473\n",
      "Epoch 2071/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0750 - acc: 0.9650 - val_loss: 0.0955 - val_acc: 0.9655\n",
      "Epoch 2072/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0827 - acc: 0.9639 - val_loss: 0.1021 - val_acc: 0.9533\n",
      "Epoch 2073/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0848 - acc: 0.9634 - val_loss: 0.1198 - val_acc: 0.9594\n",
      "Epoch 2074/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0800 - acc: 0.9639 - val_loss: 0.0971 - val_acc: 0.9675\n",
      "Epoch 2075/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0759 - acc: 0.9639 - val_loss: 0.0972 - val_acc: 0.9615\n",
      "Epoch 2076/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0812 - acc: 0.9639 - val_loss: 0.2315 - val_acc: 0.9189\n",
      "Epoch 2077/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0867 - acc: 0.9604 - val_loss: 0.1588 - val_acc: 0.9310\n",
      "Epoch 2078/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0761 - acc: 0.9655 - val_loss: 0.1181 - val_acc: 0.9432\n",
      "Epoch 2079/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9609 - val_loss: 0.1604 - val_acc: 0.9331\n",
      "Epoch 2080/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0827 - acc: 0.9599 - val_loss: 0.0939 - val_acc: 0.9513\n",
      "Epoch 2081/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0750 - acc: 0.9634 - val_loss: 0.1417 - val_acc: 0.9432\n",
      "Epoch 2082/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0838 - acc: 0.9599 - val_loss: 0.0878 - val_acc: 0.9574\n",
      "Epoch 2083/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0792 - acc: 0.9594 - val_loss: 0.0858 - val_acc: 0.9736\n",
      "Epoch 2084/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0756 - acc: 0.9655 - val_loss: 0.1744 - val_acc: 0.9290\n",
      "Epoch 2085/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0872 - acc: 0.9589 - val_loss: 0.0870 - val_acc: 0.9513\n",
      "Epoch 2086/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0807 - acc: 0.9680 - val_loss: 0.1322 - val_acc: 0.9533\n",
      "Epoch 2087/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0759 - acc: 0.9680 - val_loss: 0.1610 - val_acc: 0.9391\n",
      "Epoch 2088/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0886 - acc: 0.9604 - val_loss: 0.1022 - val_acc: 0.9574\n",
      "Epoch 2089/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0738 - acc: 0.9634 - val_loss: 0.1953 - val_acc: 0.9290\n",
      "Epoch 2090/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0827 - acc: 0.9614 - val_loss: 0.1565 - val_acc: 0.9351\n",
      "Epoch 2091/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0800 - acc: 0.9634 - val_loss: 0.1099 - val_acc: 0.9493\n",
      "Epoch 2092/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0853 - acc: 0.9609 - val_loss: 0.1031 - val_acc: 0.9493\n",
      "Epoch 2093/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0835 - acc: 0.9573 - val_loss: 0.0919 - val_acc: 0.9675\n",
      "Epoch 2094/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0786 - acc: 0.9644 - val_loss: 0.1160 - val_acc: 0.9574\n",
      "Epoch 2095/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0823 - acc: 0.9634 - val_loss: 0.1251 - val_acc: 0.9452\n",
      "Epoch 2096/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0802 - acc: 0.9599 - val_loss: 0.1026 - val_acc: 0.9594\n",
      "Epoch 2097/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0865 - acc: 0.9594 - val_loss: 0.1192 - val_acc: 0.9533\n",
      "Epoch 2098/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0795 - acc: 0.961 - 0s - loss: 0.0783 - acc: 0.9619 - val_loss: 0.0969 - val_acc: 0.9696\n",
      "Epoch 2099/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0727 - acc: 0.9695 - val_loss: 0.1446 - val_acc: 0.9473\n",
      "Epoch 2100/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0892 - acc: 0.9584 - val_loss: 0.1230 - val_acc: 0.9412\n",
      "Epoch 2101/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0759 - acc: 0.9655 - val_loss: 0.1803 - val_acc: 0.9270\n",
      "Epoch 2102/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0870 - acc: 0.9609 - val_loss: 0.0987 - val_acc: 0.9615\n",
      "Epoch 2103/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0898 - acc: 0.9584 - val_loss: 0.1258 - val_acc: 0.9493\n",
      "Epoch 2104/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0824 - acc: 0.9578 - val_loss: 0.0972 - val_acc: 0.95540.957\n",
      "Epoch 2105/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0783 - acc: 0.9604 - val_loss: 0.1238 - val_acc: 0.9371\n",
      "Epoch 2106/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0772 - acc: 0.9675 - val_loss: 0.1666 - val_acc: 0.9310\n",
      "Epoch 2107/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0816 - acc: 0.9599 - val_loss: 0.1218 - val_acc: 0.9493\n",
      "Epoch 2108/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0813 - acc: 0.9624 - val_loss: 0.1158 - val_acc: 0.9452\n",
      "Epoch 2109/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0757 - acc: 0.9639 - val_loss: 0.2274 - val_acc: 0.9229\n",
      "Epoch 2110/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0902 - acc: 0.9665 - val_loss: 0.0874 - val_acc: 0.9554\n",
      "Epoch 2111/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0767 - acc: 0.9655 - val_loss: 0.0968 - val_acc: 0.9655\n",
      "Epoch 2112/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0765 - acc: 0.9655 - val_loss: 0.0871 - val_acc: 0.9615\n",
      "Epoch 2113/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0867 - acc: 0.962 - 0s - loss: 0.0860 - acc: 0.9624 - val_loss: 0.1407 - val_acc: 0.9351\n",
      "Epoch 2114/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0783 - acc: 0.9589 - val_loss: 0.0882 - val_acc: 0.9675\n",
      "Epoch 2115/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0735 - acc: 0.9655 - val_loss: 0.2257 - val_acc: 0.9229\n",
      "Epoch 2116/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0862 - acc: 0.9624 - val_loss: 0.1243 - val_acc: 0.9432\n",
      "Epoch 2117/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0854 - acc: 0.9578 - val_loss: 0.1121 - val_acc: 0.9635\n",
      "Epoch 2118/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0815 - acc: 0.9594 - val_loss: 0.1772 - val_acc: 0.9331\n",
      "Epoch 2119/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0764 - acc: 0.9665 - val_loss: 0.1029 - val_acc: 0.9594\n",
      "Epoch 2120/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0731 - acc: 0.9680 - val_loss: 0.1051 - val_acc: 0.9533\n",
      "Epoch 2121/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0725 - acc: 0.9670 - val_loss: 0.1313 - val_acc: 0.9473\n",
      "Epoch 2122/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0789 - acc: 0.9594 - val_loss: 0.1043 - val_acc: 0.9513\n",
      "Epoch 2123/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0781 - acc: 0.9634 - val_loss: 0.0920 - val_acc: 0.9615\n",
      "Epoch 2124/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0840 - acc: 0.9609 - val_loss: 0.0916 - val_acc: 0.9655\n",
      "Epoch 2125/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0895 - acc: 0.9538 - val_loss: 0.1810 - val_acc: 0.9249\n",
      "Epoch 2126/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0856 - acc: 0.9594 - val_loss: 0.0833 - val_acc: 0.9675\n",
      "Epoch 2127/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0870 - acc: 0.9609 - val_loss: 0.1172 - val_acc: 0.9493\n",
      "Epoch 2128/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0798 - acc: 0.9599 - val_loss: 0.2234 - val_acc: 0.9229\n",
      "Epoch 2129/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0889 - acc: 0.9573 - val_loss: 0.0929 - val_acc: 0.9655\n",
      "Epoch 2130/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0770 - acc: 0.9629 - val_loss: 0.1215 - val_acc: 0.9452\n",
      "Epoch 2131/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0926 - acc: 0.9573 - val_loss: 0.0861 - val_acc: 0.9675\n",
      "Epoch 2132/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0708 - acc: 0.9690 - val_loss: 0.1084 - val_acc: 0.9574\n",
      "Epoch 2133/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0731 - acc: 0.9639 - val_loss: 0.1117 - val_acc: 0.9513\n",
      "Epoch 2134/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0745 - acc: 0.9655 - val_loss: 0.0854 - val_acc: 0.9675\n",
      "Epoch 2135/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0721 - acc: 0.9680 - val_loss: 0.1174 - val_acc: 0.9493\n",
      "Epoch 2136/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0766 - acc: 0.9619 - val_loss: 0.1023 - val_acc: 0.9615\n",
      "Epoch 2137/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0764 - acc: 0.9655 - val_loss: 0.1072 - val_acc: 0.9513\n",
      "Epoch 2138/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0780 - acc: 0.9629 - val_loss: 0.1498 - val_acc: 0.9331\n",
      "Epoch 2139/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0830 - acc: 0.9644 - val_loss: 0.1399 - val_acc: 0.9391\n",
      "Epoch 2140/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0726 - acc: 0.9675 - val_loss: 0.0852 - val_acc: 0.9716\n",
      "Epoch 2141/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0786 - acc: 0.9670 - val_loss: 0.1279 - val_acc: 0.9432\n",
      "Epoch 2142/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0773 - acc: 0.9639 - val_loss: 0.1131 - val_acc: 0.94320.963\n",
      "Epoch 2143/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0723 - acc: 0.9680 - val_loss: 0.1072 - val_acc: 0.9554\n",
      "Epoch 2144/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0913 - acc: 0.9548 - val_loss: 0.0859 - val_acc: 0.9675\n",
      "Epoch 2145/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0835 - acc: 0.9573 - val_loss: 0.1527 - val_acc: 0.9310\n",
      "Epoch 2146/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0856 - acc: 0.9599 - val_loss: 0.1288 - val_acc: 0.9432\n",
      "Epoch 2147/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0764 - acc: 0.9655 - val_loss: 0.0923 - val_acc: 0.9594\n",
      "Epoch 2148/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0876 - acc: 0.9589 - val_loss: 0.1144 - val_acc: 0.9452\n",
      "Epoch 2149/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0802 - acc: 0.9634 - val_loss: 0.0963 - val_acc: 0.9635\n",
      "Epoch 2150/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0759 - acc: 0.9639 - val_loss: 0.1178 - val_acc: 0.9574\n",
      "Epoch 2151/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0882 - acc: 0.9563 - val_loss: 0.0961 - val_acc: 0.9655\n",
      "Epoch 2152/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0823 - acc: 0.9639 - val_loss: 0.0994 - val_acc: 0.9594\n",
      "Epoch 2153/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0856 - acc: 0.9594 - val_loss: 0.0910 - val_acc: 0.9675\n",
      "Epoch 2154/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0716 - acc: 0.9665 - val_loss: 0.0945 - val_acc: 0.9655\n",
      "Epoch 2155/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0819 - acc: 0.9644 - val_loss: 0.1009 - val_acc: 0.9513\n",
      "Epoch 2156/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0882 - acc: 0.9543 - val_loss: 0.0939 - val_acc: 0.9675\n",
      "Epoch 2157/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0795 - acc: 0.9609 - val_loss: 0.1181 - val_acc: 0.9391\n",
      "Epoch 2158/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0727 - acc: 0.9700 - val_loss: 0.0893 - val_acc: 0.9736\n",
      "Epoch 2159/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0913 - acc: 0.9584 - val_loss: 0.1122 - val_acc: 0.9533\n",
      "Epoch 2160/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0951 - acc: 0.9578 - val_loss: 0.0974 - val_acc: 0.9615\n",
      "Epoch 2161/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0721 - acc: 0.9675 - val_loss: 0.1102 - val_acc: 0.9533\n",
      "Epoch 2162/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0820 - acc: 0.9599 - val_loss: 0.1115 - val_acc: 0.9533\n",
      "Epoch 2163/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0877 - acc: 0.9629 - val_loss: 0.1051 - val_acc: 0.9635\n",
      "Epoch 2164/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0775 - acc: 0.9644 - val_loss: 0.0914 - val_acc: 0.9696\n",
      "Epoch 2165/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0841 - acc: 0.9589 - val_loss: 0.1131 - val_acc: 0.9513\n",
      "Epoch 2166/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0826 - acc: 0.9589 - val_loss: 0.1286 - val_acc: 0.9513\n",
      "Epoch 2167/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0845 - acc: 0.9614 - val_loss: 0.2302 - val_acc: 0.9290\n",
      "Epoch 2168/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0911 - acc: 0.9548 - val_loss: 0.1368 - val_acc: 0.9371\n",
      "Epoch 2169/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0806 - acc: 0.9604 - val_loss: 0.0864 - val_acc: 0.9716\n",
      "Epoch 2170/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0727 - acc: 0.9680 - val_loss: 0.1251 - val_acc: 0.9432\n",
      "Epoch 2171/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0747 - acc: 0.9665 - val_loss: 0.2630 - val_acc: 0.9189\n",
      "Epoch 2172/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0864 - acc: 0.9614 - val_loss: 0.1251 - val_acc: 0.9473\n",
      "Epoch 2173/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0782 - acc: 0.9599 - val_loss: 0.0859 - val_acc: 0.9615\n",
      "Epoch 2174/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0751 - acc: 0.9655 - val_loss: 0.0965 - val_acc: 0.9594\n",
      "Epoch 2175/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0788 - acc: 0.9624 - val_loss: 0.0906 - val_acc: 0.9574\n",
      "Epoch 2176/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0779 - acc: 0.9619 - val_loss: 0.0958 - val_acc: 0.9533\n",
      "Epoch 2177/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0798 - acc: 0.9624 - val_loss: 0.1089 - val_acc: 0.9574\n",
      "Epoch 2178/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0817 - acc: 0.9609 - val_loss: 0.0987 - val_acc: 0.9635\n",
      "Epoch 2179/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0853 - acc: 0.9655 - val_loss: 0.0915 - val_acc: 0.9655\n",
      "Epoch 2180/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0760 - acc: 0.9685 - val_loss: 0.1391 - val_acc: 0.9412\n",
      "Epoch 2181/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0832 - acc: 0.9589 - val_loss: 0.1177 - val_acc: 0.9432\n",
      "Epoch 2182/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0782 - acc: 0.9634 - val_loss: 0.1682 - val_acc: 0.9371\n",
      "Epoch 2183/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0820 - acc: 0.9594 - val_loss: 0.0931 - val_acc: 0.9594\n",
      "Epoch 2184/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0754 - acc: 0.9624 - val_loss: 0.1064 - val_acc: 0.9574\n",
      "Epoch 2185/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0774 - acc: 0.9639 - val_loss: 0.1317 - val_acc: 0.9513\n",
      "Epoch 2186/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0769 - acc: 0.9685 - val_loss: 0.1293 - val_acc: 0.9412\n",
      "Epoch 2187/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0800 - acc: 0.9619 - val_loss: 0.0969 - val_acc: 0.9615\n",
      "Epoch 2188/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0775 - acc: 0.9675 - val_loss: 0.0832 - val_acc: 0.9736\n",
      "Epoch 2189/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0726 - acc: 0.9639 - val_loss: 0.1388 - val_acc: 0.9391\n",
      "Epoch 2190/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0807 - acc: 0.9639 - val_loss: 0.1363 - val_acc: 0.9412\n",
      "Epoch 2191/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0946 - acc: 0.968 - 0s - loss: 0.0898 - acc: 0.9614 - val_loss: 0.1031 - val_acc: 0.9533\n",
      "Epoch 2192/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0708 - acc: 0.9685 - val_loss: 0.1381 - val_acc: 0.9371\n",
      "Epoch 2193/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0770 - acc: 0.9670 - val_loss: 0.1214 - val_acc: 0.95540.969\n",
      "Epoch 2194/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0789 - acc: 0.9584 - val_loss: 0.1307 - val_acc: 0.9473\n",
      "Epoch 2195/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0813 - acc: 0.9614 - val_loss: 0.0888 - val_acc: 0.9696\n",
      "Epoch 2196/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0759 - acc: 0.9644 - val_loss: 0.1473 - val_acc: 0.9432\n",
      "Epoch 2197/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0858 - acc: 0.9573 - val_loss: 0.1607 - val_acc: 0.9412\n",
      "Epoch 2198/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0765 - acc: 0.9624 - val_loss: 0.0903 - val_acc: 0.9736\n",
      "Epoch 2199/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0774 - acc: 0.9604 - val_loss: 0.0875 - val_acc: 0.9736\n",
      "Epoch 2200/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0749 - acc: 0.9644 - val_loss: 0.0969 - val_acc: 0.9655\n",
      "Epoch 2201/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0738 - acc: 0.9655 - val_loss: 0.1015 - val_acc: 0.9554\n",
      "Epoch 2202/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0818 - acc: 0.9614 - val_loss: 0.0861 - val_acc: 0.9675\n",
      "Epoch 2203/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0844 - acc: 0.9604 - val_loss: 0.0826 - val_acc: 0.9655\n",
      "Epoch 2204/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0795 - acc: 0.9660 - val_loss: 0.1740 - val_acc: 0.9270\n",
      "Epoch 2205/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9624 - val_loss: 0.2030 - val_acc: 0.9229\n",
      "Epoch 2206/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0789 - acc: 0.9655 - val_loss: 0.1145 - val_acc: 0.9493\n",
      "Epoch 2207/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0765 - acc: 0.9680 - val_loss: 0.1257 - val_acc: 0.9493\n",
      "Epoch 2208/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0972 - acc: 0.9533 - val_loss: 0.1063 - val_acc: 0.9574\n",
      "Epoch 2209/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0761 - acc: 0.9639 - val_loss: 0.1155 - val_acc: 0.9473\n",
      "Epoch 2210/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0776 - acc: 0.9644 - val_loss: 0.1291 - val_acc: 0.9473\n",
      "Epoch 2211/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0758 - acc: 0.9624 - val_loss: 0.1743 - val_acc: 0.9290\n",
      "Epoch 2212/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0785 - acc: 0.9705 - val_loss: 0.1005 - val_acc: 0.9554\n",
      "Epoch 2213/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0812 - acc: 0.9639 - val_loss: 0.1385 - val_acc: 0.9452\n",
      "Epoch 2214/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0794 - acc: 0.9629 - val_loss: 0.0886 - val_acc: 0.9554\n",
      "Epoch 2215/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0786 - acc: 0.9665 - val_loss: 0.1041 - val_acc: 0.9533\n",
      "Epoch 2216/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0728 - acc: 0.9655 - val_loss: 0.0847 - val_acc: 0.9716\n",
      "Epoch 2217/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0869 - acc: 0.9548 - val_loss: 0.1006 - val_acc: 0.9615\n",
      "Epoch 2218/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0849 - acc: 0.9619 - val_loss: 0.0864 - val_acc: 0.9574\n",
      "Epoch 2219/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0752 - acc: 0.9650 - val_loss: 0.1130 - val_acc: 0.9493\n",
      "Epoch 2220/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0807 - acc: 0.9629 - val_loss: 0.0963 - val_acc: 0.9554\n",
      "Epoch 2221/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0724 - acc: 0.9711 - val_loss: 0.0896 - val_acc: 0.9716\n",
      "Epoch 2222/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0747 - acc: 0.9670 - val_loss: 0.1066 - val_acc: 0.9533\n",
      "Epoch 2223/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0763 - acc: 0.9614 - val_loss: 0.0895 - val_acc: 0.9675\n",
      "Epoch 2224/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0853 - acc: 0.9589 - val_loss: 0.0923 - val_acc: 0.9513\n",
      "Epoch 2225/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0722 - acc: 0.9650 - val_loss: 0.0911 - val_acc: 0.9716\n",
      "Epoch 2226/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0701 - acc: 0.9665 - val_loss: 0.0973 - val_acc: 0.9554\n",
      "Epoch 2227/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9644 - val_loss: 0.0869 - val_acc: 0.9757\n",
      "Epoch 2228/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0727 - acc: 0.9629 - val_loss: 0.1100 - val_acc: 0.9594\n",
      "Epoch 2229/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0707 - acc: 0.9690 - val_loss: 0.1692 - val_acc: 0.9270\n",
      "Epoch 2230/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0886 - acc: 0.9553 - val_loss: 0.2022 - val_acc: 0.9229\n",
      "Epoch 2231/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0763 - acc: 0.9660 - val_loss: 0.1361 - val_acc: 0.9371\n",
      "Epoch 2232/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0748 - acc: 0.9675 - val_loss: 0.0962 - val_acc: 0.9615\n",
      "Epoch 2233/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9629 - val_loss: 0.0916 - val_acc: 0.9696\n",
      "Epoch 2234/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0719 - acc: 0.9660 - val_loss: 0.1008 - val_acc: 0.9533\n",
      "Epoch 2235/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0685 - acc: 0.9695 - val_loss: 0.1039 - val_acc: 0.9554\n",
      "Epoch 2236/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0738 - acc: 0.9705 - val_loss: 0.1502 - val_acc: 0.9351\n",
      "Epoch 2237/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0989 - acc: 0.9487 - val_loss: 0.1534 - val_acc: 0.9371\n",
      "Epoch 2238/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0775 - acc: 0.9629 - val_loss: 0.1221 - val_acc: 0.9513\n",
      "Epoch 2239/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0729 - acc: 0.9690 - val_loss: 0.1169 - val_acc: 0.9473\n",
      "Epoch 2240/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0780 - acc: 0.9634 - val_loss: 0.1571 - val_acc: 0.9331\n",
      "Epoch 2241/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0863 - acc: 0.9538 - val_loss: 0.1329 - val_acc: 0.9412\n",
      "Epoch 2242/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0759 - acc: 0.9660 - val_loss: 0.0915 - val_acc: 0.9533\n",
      "Epoch 2243/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0854 - acc: 0.9578 - val_loss: 0.1105 - val_acc: 0.9554\n",
      "Epoch 2244/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0857 - acc: 0.9584 - val_loss: 0.0847 - val_acc: 0.9716\n",
      "Epoch 2245/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0806 - acc: 0.9639 - val_loss: 0.0878 - val_acc: 0.9635\n",
      "Epoch 2246/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0767 - acc: 0.9650 - val_loss: 0.1901 - val_acc: 0.9270\n",
      "Epoch 2247/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0909 - acc: 0.9563 - val_loss: 0.1259 - val_acc: 0.9391\n",
      "Epoch 2248/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0742 - acc: 0.9655 - val_loss: 0.1051 - val_acc: 0.9574\n",
      "Epoch 2249/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0844 - acc: 0.9563 - val_loss: 0.0883 - val_acc: 0.9675\n",
      "Epoch 2250/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0759 - acc: 0.9639 - val_loss: 0.1075 - val_acc: 0.9554\n",
      "Epoch 2251/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0774 - acc: 0.9624 - val_loss: 0.1071 - val_acc: 0.9635\n",
      "Epoch 2252/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0793 - acc: 0.9599 - val_loss: 0.1451 - val_acc: 0.9412\n",
      "Epoch 2253/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0816 - acc: 0.9589 - val_loss: 0.0893 - val_acc: 0.9594\n",
      "Epoch 2254/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0714 - acc: 0.9675 - val_loss: 0.0972 - val_acc: 0.9675\n",
      "Epoch 2255/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0735 - acc: 0.9650 - val_loss: 0.0931 - val_acc: 0.9655\n",
      "Epoch 2256/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0832 - acc: 0.9604 - val_loss: 0.1087 - val_acc: 0.9554\n",
      "Epoch 2257/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0773 - acc: 0.9665 - val_loss: 0.1200 - val_acc: 0.9554\n",
      "Epoch 2258/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0696 - acc: 0.9695 - val_loss: 0.1326 - val_acc: 0.9432\n",
      "Epoch 2259/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0811 - acc: 0.9639 - val_loss: 0.1276 - val_acc: 0.9452\n",
      "Epoch 2260/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0782 - acc: 0.9695 - val_loss: 0.1406 - val_acc: 0.9391\n",
      "Epoch 2261/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0782 - acc: 0.9619 - val_loss: 0.1156 - val_acc: 0.9594\n",
      "Epoch 2262/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0790 - acc: 0.9639 - val_loss: 0.1007 - val_acc: 0.9615\n",
      "Epoch 2263/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0850 - acc: 0.9589 - val_loss: 0.0883 - val_acc: 0.9696\n",
      "Epoch 2264/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0758 - acc: 0.9644 - val_loss: 0.1080 - val_acc: 0.9533\n",
      "Epoch 2265/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0838 - acc: 0.9584 - val_loss: 0.1655 - val_acc: 0.9391\n",
      "Epoch 2266/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0786 - acc: 0.9655 - val_loss: 0.0910 - val_acc: 0.9554\n",
      "Epoch 2267/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0688 - acc: 0.9650 - val_loss: 0.1275 - val_acc: 0.9412\n",
      "Epoch 2268/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0824 - acc: 0.9599 - val_loss: 0.0909 - val_acc: 0.9574\n",
      "Epoch 2269/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0798 - acc: 0.9650 - val_loss: 0.1033 - val_acc: 0.9635\n",
      "Epoch 2270/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0692 - acc: 0.9665 - val_loss: 0.1398 - val_acc: 0.9351\n",
      "Epoch 2271/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0863 - acc: 0.9568 - val_loss: 0.0860 - val_acc: 0.9675\n",
      "Epoch 2272/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0701 - acc: 0.9690 - val_loss: 0.1302 - val_acc: 0.9452\n",
      "Epoch 2273/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0822 - acc: 0.9578 - val_loss: 0.1279 - val_acc: 0.9391\n",
      "Epoch 2274/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0724 - acc: 0.9660 - val_loss: 0.1462 - val_acc: 0.9371\n",
      "Epoch 2275/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0721 - acc: 0.9690 - val_loss: 0.1823 - val_acc: 0.9310\n",
      "Epoch 2276/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0763 - acc: 0.9639 - val_loss: 0.0874 - val_acc: 0.9635\n",
      "Epoch 2277/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0774 - acc: 0.9589 - val_loss: 0.0869 - val_acc: 0.9594\n",
      "Epoch 2278/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0835 - acc: 0.9639 - val_loss: 0.3054 - val_acc: 0.9026\n",
      "Epoch 2279/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0908 - acc: 0.9639 - val_loss: 0.0984 - val_acc: 0.9574\n",
      "Epoch 2280/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0736 - acc: 0.9650 - val_loss: 0.1109 - val_acc: 0.9574\n",
      "Epoch 2281/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0698 - acc: 0.9690 - val_loss: 0.0899 - val_acc: 0.9594\n",
      "Epoch 2282/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0741 - acc: 0.9655 - val_loss: 0.0978 - val_acc: 0.9675\n",
      "Epoch 2283/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0717 - acc: 0.9650 - val_loss: 0.1068 - val_acc: 0.9493\n",
      "Epoch 2284/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0702 - acc: 0.9705 - val_loss: 0.0916 - val_acc: 0.9615\n",
      "Epoch 2285/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0701 - acc: 0.9680 - val_loss: 0.1172 - val_acc: 0.9432\n",
      "Epoch 2286/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0773 - acc: 0.9609 - val_loss: 0.1717 - val_acc: 0.9310\n",
      "Epoch 2287/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0815 - acc: 0.9629 - val_loss: 0.0881 - val_acc: 0.9696\n",
      "Epoch 2288/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0797 - acc: 0.9639 - val_loss: 0.2244 - val_acc: 0.9249\n",
      "Epoch 2289/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0790 - acc: 0.9665 - val_loss: 0.1089 - val_acc: 0.9452\n",
      "Epoch 2290/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0732 - acc: 0.9665 - val_loss: 0.1698 - val_acc: 0.9290\n",
      "Epoch 2291/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0770 - acc: 0.9650 - val_loss: 0.1202 - val_acc: 0.9493\n",
      "Epoch 2292/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0752 - acc: 0.9650 - val_loss: 0.1324 - val_acc: 0.9452\n",
      "Epoch 2293/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0778 - acc: 0.9655 - val_loss: 0.0968 - val_acc: 0.9655\n",
      "Epoch 2294/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0778 - acc: 0.9660 - val_loss: 0.1720 - val_acc: 0.9290\n",
      "Epoch 2295/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0770 - acc: 0.9624 - val_loss: 0.1514 - val_acc: 0.9351\n",
      "Epoch 2296/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0746 - acc: 0.9660 - val_loss: 0.1519 - val_acc: 0.9331\n",
      "Epoch 2297/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0830 - acc: 0.9634 - val_loss: 0.0898 - val_acc: 0.9716\n",
      "Epoch 2298/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0822 - acc: 0.9584 - val_loss: 0.1741 - val_acc: 0.9290\n",
      "Epoch 2299/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0875 - acc: 0.9528 - val_loss: 0.1107 - val_acc: 0.9554\n",
      "Epoch 2300/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0779 - acc: 0.9650 - val_loss: 0.1102 - val_acc: 0.9554\n",
      "Epoch 2301/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1122 - acc: 0.953 - 0s - loss: 0.0704 - acc: 0.9695 - val_loss: 0.1144 - val_acc: 0.9513\n",
      "Epoch 2302/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0827 - acc: 0.9604 - val_loss: 0.1132 - val_acc: 0.9513\n",
      "Epoch 2303/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0790 - acc: 0.9655 - val_loss: 0.0909 - val_acc: 0.9615\n",
      "Epoch 2304/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0760 - acc: 0.9634 - val_loss: 0.1298 - val_acc: 0.9432\n",
      "Epoch 2305/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0784 - acc: 0.9670 - val_loss: 0.0925 - val_acc: 0.9574\n",
      "Epoch 2306/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0747 - acc: 0.9670 - val_loss: 0.1152 - val_acc: 0.9493\n",
      "Epoch 2307/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9665 - val_loss: 0.0930 - val_acc: 0.9696\n",
      "Epoch 2308/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0749 - acc: 0.9624 - val_loss: 0.0913 - val_acc: 0.9574\n",
      "Epoch 2309/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0818 - acc: 0.9614 - val_loss: 0.1121 - val_acc: 0.9533\n",
      "Epoch 2310/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0855 - acc: 0.9634 - val_loss: 0.1866 - val_acc: 0.9249\n",
      "Epoch 2311/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0823 - acc: 0.9634 - val_loss: 0.1070 - val_acc: 0.9493\n",
      "Epoch 2312/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0752 - acc: 0.9639 - val_loss: 0.1380 - val_acc: 0.9473\n",
      "Epoch 2313/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0799 - acc: 0.9609 - val_loss: 0.1152 - val_acc: 0.9574\n",
      "Epoch 2314/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0772 - acc: 0.9634 - val_loss: 0.1029 - val_acc: 0.9574\n",
      "Epoch 2315/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0829 - acc: 0.9573 - val_loss: 0.1670 - val_acc: 0.9270\n",
      "Epoch 2316/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0801 - acc: 0.9609 - val_loss: 0.1137 - val_acc: 0.9533\n",
      "Epoch 2317/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0796 - acc: 0.9634 - val_loss: 0.1562 - val_acc: 0.9412\n",
      "Epoch 2318/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0811 - acc: 0.9609 - val_loss: 0.0841 - val_acc: 0.9655\n",
      "Epoch 2319/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0740 - acc: 0.9634 - val_loss: 0.0915 - val_acc: 0.9716\n",
      "Epoch 2320/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0785 - acc: 0.9665 - val_loss: 0.0924 - val_acc: 0.9716\n",
      "Epoch 2321/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0846 - acc: 0.9584 - val_loss: 0.1215 - val_acc: 0.9452\n",
      "Epoch 2322/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0861 - acc: 0.9604 - val_loss: 0.1014 - val_acc: 0.9655\n",
      "Epoch 2323/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0765 - acc: 0.9629 - val_loss: 0.1129 - val_acc: 0.9533\n",
      "Epoch 2324/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0708 - acc: 0.9655 - val_loss: 0.1092 - val_acc: 0.9533\n",
      "Epoch 2325/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0770 - acc: 0.9629 - val_loss: 0.1106 - val_acc: 0.9533\n",
      "Epoch 2326/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0784 - acc: 0.9660 - val_loss: 0.0884 - val_acc: 0.9696\n",
      "Epoch 2327/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0814 - acc: 0.9619 - val_loss: 0.0979 - val_acc: 0.9594\n",
      "Epoch 2328/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0768 - acc: 0.9634 - val_loss: 0.1069 - val_acc: 0.9594\n",
      "Epoch 2329/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0734 - acc: 0.9660 - val_loss: 0.0981 - val_acc: 0.9594\n",
      "Epoch 2330/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0689 - acc: 0.9634 - val_loss: 0.0908 - val_acc: 0.9594\n",
      "Epoch 2331/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0700 - acc: 0.9680 - val_loss: 0.1206 - val_acc: 0.9391\n",
      "Epoch 2332/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0803 - acc: 0.9675 - val_loss: 0.1138 - val_acc: 0.9533\n",
      "Epoch 2333/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0723 - acc: 0.9695 - val_loss: 0.2028 - val_acc: 0.9249\n",
      "Epoch 2334/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0833 - acc: 0.9660 - val_loss: 0.1164 - val_acc: 0.9473\n",
      "Epoch 2335/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0829 - acc: 0.9624 - val_loss: 0.1061 - val_acc: 0.9655\n",
      "Epoch 2336/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0722 - acc: 0.9665 - val_loss: 0.0952 - val_acc: 0.9696\n",
      "Epoch 2337/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0883 - acc: 0.9563 - val_loss: 0.1224 - val_acc: 0.9452\n",
      "Epoch 2338/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0724 - acc: 0.9644 - val_loss: 0.1694 - val_acc: 0.9331\n",
      "Epoch 2339/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0895 - acc: 0.9538 - val_loss: 0.1035 - val_acc: 0.9615\n",
      "Epoch 2340/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0731 - acc: 0.9665 - val_loss: 0.1147 - val_acc: 0.9513\n",
      "Epoch 2341/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0772 - acc: 0.9660 - val_loss: 0.1168 - val_acc: 0.9473\n",
      "Epoch 2342/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0793 - acc: 0.9629 - val_loss: 0.1227 - val_acc: 0.9533\n",
      "Epoch 2343/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9655 - val_loss: 0.1087 - val_acc: 0.9513\n",
      "Epoch 2344/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0862 - acc: 0.9604 - val_loss: 0.1156 - val_acc: 0.9594\n",
      "Epoch 2345/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0793 - acc: 0.9639 - val_loss: 0.1192 - val_acc: 0.9533\n",
      "Epoch 2346/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0745 - acc: 0.9650 - val_loss: 0.1014 - val_acc: 0.9594\n",
      "Epoch 2347/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0813 - acc: 0.9568 - val_loss: 0.0937 - val_acc: 0.9594\n",
      "Epoch 2348/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0777 - acc: 0.9650 - val_loss: 0.0944 - val_acc: 0.9655\n",
      "Epoch 2349/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0763 - acc: 0.9624 - val_loss: 0.2490 - val_acc: 0.9189\n",
      "Epoch 2350/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0937 - acc: 0.9558 - val_loss: 0.1292 - val_acc: 0.9412\n",
      "Epoch 2351/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0988 - acc: 0.953 - 0s - loss: 0.0751 - acc: 0.9665 - val_loss: 0.1054 - val_acc: 0.9574\n",
      "Epoch 2352/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0659 - acc: 0.9690 - val_loss: 0.1090 - val_acc: 0.9533\n",
      "Epoch 2353/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0731 - acc: 0.9670 - val_loss: 0.1002 - val_acc: 0.9574\n",
      "Epoch 2354/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0796 - acc: 0.9624 - val_loss: 0.1364 - val_acc: 0.9412\n",
      "Epoch 2355/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0767 - acc: 0.9700 - val_loss: 0.1608 - val_acc: 0.9310\n",
      "Epoch 2356/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0818 - acc: 0.9599 - val_loss: 0.0961 - val_acc: 0.9594\n",
      "Epoch 2357/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0775 - acc: 0.9609 - val_loss: 0.1537 - val_acc: 0.9371\n",
      "Epoch 2358/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0799 - acc: 0.9599 - val_loss: 0.0920 - val_acc: 0.9696\n",
      "Epoch 2359/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0813 - acc: 0.9639 - val_loss: 0.0918 - val_acc: 0.9615\n",
      "Epoch 2360/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0773 - acc: 0.9624 - val_loss: 0.0872 - val_acc: 0.9655\n",
      "Epoch 2361/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0807 - acc: 0.9604 - val_loss: 0.0934 - val_acc: 0.9675\n",
      "Epoch 2362/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0711 - acc: 0.9665 - val_loss: 0.1573 - val_acc: 0.9391\n",
      "Epoch 2363/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0783 - acc: 0.9660 - val_loss: 0.1957 - val_acc: 0.9249\n",
      "Epoch 2364/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0854 - acc: 0.9624 - val_loss: 0.0924 - val_acc: 0.9554\n",
      "Epoch 2365/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0694 - acc: 0.9675 - val_loss: 0.0862 - val_acc: 0.9696\n",
      "Epoch 2366/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0776 - acc: 0.9589 - val_loss: 0.1273 - val_acc: 0.9513\n",
      "Epoch 2367/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0728 - acc: 0.9665 - val_loss: 0.1037 - val_acc: 0.9594\n",
      "Epoch 2368/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0681 - acc: 0.9695 - val_loss: 0.1320 - val_acc: 0.9351\n",
      "Epoch 2369/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0722 - acc: 0.9639 - val_loss: 0.1105 - val_acc: 0.9513\n",
      "Epoch 2370/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0902 - acc: 0.9548 - val_loss: 0.0927 - val_acc: 0.9675\n",
      "Epoch 2371/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0774 - acc: 0.9639 - val_loss: 0.1005 - val_acc: 0.9533\n",
      "Epoch 2372/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0715 - acc: 0.9655 - val_loss: 0.0954 - val_acc: 0.9635\n",
      "Epoch 2373/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0755 - acc: 0.9650 - val_loss: 0.0992 - val_acc: 0.9635\n",
      "Epoch 2374/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0686 - acc: 0.9675 - val_loss: 0.0993 - val_acc: 0.9594\n",
      "Epoch 2375/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0790 - acc: 0.9644 - val_loss: 0.1258 - val_acc: 0.9391\n",
      "Epoch 2376/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0768 - acc: 0.9629 - val_loss: 0.1909 - val_acc: 0.9270\n",
      "Epoch 2377/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0735 - acc: 0.9700 - val_loss: 0.0827 - val_acc: 0.9615\n",
      "Epoch 2378/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0763 - acc: 0.9614 - val_loss: 0.0860 - val_acc: 0.9716\n",
      "Epoch 2379/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0751 - acc: 0.9624 - val_loss: 0.0901 - val_acc: 0.9594\n",
      "Epoch 2380/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0744 - acc: 0.9665 - val_loss: 0.1094 - val_acc: 0.9473\n",
      "Epoch 2381/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1676 - acc: 0.882 - 0s - loss: 0.0903 - acc: 0.9543 - val_loss: 0.1308 - val_acc: 0.9493\n",
      "Epoch 2382/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0721 - acc: 0.9690 - val_loss: 0.0991 - val_acc: 0.9615\n",
      "Epoch 2383/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0732 - acc: 0.9629 - val_loss: 0.1076 - val_acc: 0.9554\n",
      "Epoch 2384/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0745 - acc: 0.9695 - val_loss: 0.0880 - val_acc: 0.9655\n",
      "Epoch 2385/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9599 - val_loss: 0.0879 - val_acc: 0.9655\n",
      "Epoch 2386/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0828 - acc: 0.9589 - val_loss: 0.1797 - val_acc: 0.9270\n",
      "Epoch 2387/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0803 - acc: 0.9624 - val_loss: 0.1015 - val_acc: 0.9574\n",
      "Epoch 2388/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0758 - acc: 0.9650 - val_loss: 0.0927 - val_acc: 0.9675\n",
      "Epoch 2389/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0777 - acc: 0.9629 - val_loss: 0.1390 - val_acc: 0.9371\n",
      "Epoch 2390/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0770 - acc: 0.9619 - val_loss: 0.1389 - val_acc: 0.9391\n",
      "Epoch 2391/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0812 - acc: 0.9624 - val_loss: 0.0956 - val_acc: 0.9635\n",
      "Epoch 2392/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0769 - acc: 0.9629 - val_loss: 0.1873 - val_acc: 0.9229\n",
      "Epoch 2393/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0709 - acc: 0.9690 - val_loss: 0.1774 - val_acc: 0.9351\n",
      "Epoch 2394/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0779 - acc: 0.9655 - val_loss: 0.1233 - val_acc: 0.9412\n",
      "Epoch 2395/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0710 - acc: 0.9665 - val_loss: 0.2010 - val_acc: 0.9209\n",
      "Epoch 2396/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0793 - acc: 0.9660 - val_loss: 0.1120 - val_acc: 0.9473\n",
      "Epoch 2397/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0671 - acc: 0.9685 - val_loss: 0.1107 - val_acc: 0.9635\n",
      "Epoch 2398/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0766 - acc: 0.9650 - val_loss: 0.0844 - val_acc: 0.9736\n",
      "Epoch 2399/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0788 - acc: 0.9629 - val_loss: 0.0994 - val_acc: 0.9615\n",
      "Epoch 2400/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0827 - acc: 0.9624 - val_loss: 0.1023 - val_acc: 0.9635\n",
      "Epoch 2401/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0681 - acc: 0.9695 - val_loss: 0.1085 - val_acc: 0.9533\n",
      "Epoch 2402/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0795 - acc: 0.9634 - val_loss: 0.1001 - val_acc: 0.9594\n",
      "Epoch 2403/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0828 - acc: 0.953 - 0s - loss: 0.0770 - acc: 0.9624 - val_loss: 0.1339 - val_acc: 0.9452\n",
      "Epoch 2404/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0887 - acc: 0.9584 - val_loss: 0.0856 - val_acc: 0.9716\n",
      "Epoch 2405/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0827 - acc: 0.9599 - val_loss: 0.0942 - val_acc: 0.9615\n",
      "Epoch 2406/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0712 - acc: 0.9655 - val_loss: 0.1066 - val_acc: 0.9554\n",
      "Epoch 2407/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0749 - acc: 0.9670 - val_loss: 0.0876 - val_acc: 0.9736\n",
      "Epoch 2408/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0665 - acc: 0.9721 - val_loss: 0.1076 - val_acc: 0.9574\n",
      "Epoch 2409/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0746 - acc: 0.9690 - val_loss: 0.1347 - val_acc: 0.9310\n",
      "Epoch 2410/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0839 - acc: 0.9614 - val_loss: 0.1195 - val_acc: 0.9432\n",
      "Epoch 2411/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0739 - acc: 0.9650 - val_loss: 0.0842 - val_acc: 0.9757\n",
      "Epoch 2412/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0738 - acc: 0.9695 - val_loss: 0.0898 - val_acc: 0.9716\n",
      "Epoch 2413/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0776 - acc: 0.9609 - val_loss: 0.1293 - val_acc: 0.9452\n",
      "Epoch 2414/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1299 - acc: 0.921 - 0s - loss: 0.0746 - acc: 0.9604 - val_loss: 0.1121 - val_acc: 0.9513\n",
      "Epoch 2415/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0796 - acc: 0.9639 - val_loss: 0.1092 - val_acc: 0.9594\n",
      "Epoch 2416/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0759 - acc: 0.9634 - val_loss: 0.0901 - val_acc: 0.9615\n",
      "Epoch 2417/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0687 - acc: 0.9705 - val_loss: 0.1172 - val_acc: 0.9452\n",
      "Epoch 2418/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0832 - acc: 0.9604 - val_loss: 0.0971 - val_acc: 0.9635\n",
      "Epoch 2419/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0767 - acc: 0.9634 - val_loss: 0.1048 - val_acc: 0.9513\n",
      "Epoch 2420/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0777 - acc: 0.9619 - val_loss: 0.1183 - val_acc: 0.9473\n",
      "Epoch 2421/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0792 - acc: 0.9609 - val_loss: 0.1845 - val_acc: 0.9249\n",
      "Epoch 2422/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0775 - acc: 0.9604 - val_loss: 0.0855 - val_acc: 0.9716\n",
      "Epoch 2423/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0780 - acc: 0.9639 - val_loss: 0.0871 - val_acc: 0.9635\n",
      "Epoch 2424/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0660 - acc: 0.9675 - val_loss: 0.1244 - val_acc: 0.9452\n",
      "Epoch 2425/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0691 - acc: 0.9731 - val_loss: 0.0951 - val_acc: 0.9675\n",
      "Epoch 2426/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0775 - acc: 0.9604 - val_loss: 0.0950 - val_acc: 0.9655\n",
      "Epoch 2427/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0699 - acc: 0.9695 - val_loss: 0.0949 - val_acc: 0.9696\n",
      "Epoch 2428/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0772 - acc: 0.9655 - val_loss: 0.0933 - val_acc: 0.9615\n",
      "Epoch 2429/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0773 - acc: 0.9644 - val_loss: 0.0970 - val_acc: 0.9615\n",
      "Epoch 2430/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0795 - acc: 0.9624 - val_loss: 0.1653 - val_acc: 0.9310\n",
      "Epoch 2431/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0748 - acc: 0.9660 - val_loss: 0.0860 - val_acc: 0.9675\n",
      "Epoch 2432/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0839 - acc: 0.9594 - val_loss: 0.1127 - val_acc: 0.9574\n",
      "Epoch 2433/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0804 - acc: 0.9604 - val_loss: 0.1020 - val_acc: 0.9473\n",
      "Epoch 2434/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0679 - acc: 0.9670 - val_loss: 0.0936 - val_acc: 0.9635\n",
      "Epoch 2435/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0881 - acc: 0.9614 - val_loss: 0.1063 - val_acc: 0.9635\n",
      "Epoch 2436/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0882 - acc: 0.9558 - val_loss: 0.1127 - val_acc: 0.9452\n",
      "Epoch 2437/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0728 - acc: 0.9639 - val_loss: 0.0884 - val_acc: 0.9757\n",
      "Epoch 2438/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0663 - acc: 0.9680 - val_loss: 0.1141 - val_acc: 0.9432\n",
      "Epoch 2439/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0786 - acc: 0.9634 - val_loss: 0.1470 - val_acc: 0.9412\n",
      "Epoch 2440/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0821 - acc: 0.9619 - val_loss: 0.2351 - val_acc: 0.9189\n",
      "Epoch 2441/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0731 - acc: 0.9695 - val_loss: 0.1067 - val_acc: 0.9594\n",
      "Epoch 2442/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0828 - acc: 0.9594 - val_loss: 0.1096 - val_acc: 0.9473\n",
      "Epoch 2443/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0764 - acc: 0.9634 - val_loss: 0.1564 - val_acc: 0.9391\n",
      "Epoch 2444/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0727 - acc: 0.9670 - val_loss: 0.0989 - val_acc: 0.9675\n",
      "Epoch 2445/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0688 - acc: 0.9680 - val_loss: 0.1606 - val_acc: 0.9351\n",
      "Epoch 2446/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0880 - acc: 0.9589 - val_loss: 0.1397 - val_acc: 0.9371\n",
      "Epoch 2447/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0715 - acc: 0.9700 - val_loss: 0.0987 - val_acc: 0.9655\n",
      "Epoch 2448/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0695 - acc: 0.9685 - val_loss: 0.1104 - val_acc: 0.9513\n",
      "Epoch 2449/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0814 - acc: 0.9624 - val_loss: 0.1019 - val_acc: 0.9554\n",
      "Epoch 2450/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0755 - acc: 0.9660 - val_loss: 0.0906 - val_acc: 0.9675\n",
      "Epoch 2451/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0744 - acc: 0.9655 - val_loss: 0.1050 - val_acc: 0.9615\n",
      "Epoch 2452/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0820 - acc: 0.9644 - val_loss: 0.1252 - val_acc: 0.9391\n",
      "Epoch 2453/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0733 - acc: 0.9665 - val_loss: 0.1165 - val_acc: 0.9554\n",
      "Epoch 2454/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0671 - acc: 0.9675 - val_loss: 0.1022 - val_acc: 0.9655\n",
      "Epoch 2455/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0702 - acc: 0.9700 - val_loss: 0.1024 - val_acc: 0.9594\n",
      "Epoch 2456/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0684 - acc: 0.9670 - val_loss: 0.1046 - val_acc: 0.9675\n",
      "Epoch 2457/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0820 - acc: 0.9604 - val_loss: 0.1273 - val_acc: 0.9473\n",
      "Epoch 2458/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0851 - acc: 0.9624 - val_loss: 0.0908 - val_acc: 0.9655\n",
      "Epoch 2459/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0847 - acc: 0.9589 - val_loss: 0.1444 - val_acc: 0.9371\n",
      "Epoch 2460/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0701 - acc: 0.9680 - val_loss: 0.1130 - val_acc: 0.9473\n",
      "Epoch 2461/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0709 - acc: 0.9650 - val_loss: 0.1122 - val_acc: 0.9574\n",
      "Epoch 2462/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0710 - acc: 0.9655 - val_loss: 0.0984 - val_acc: 0.9696\n",
      "Epoch 2463/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0666 - acc: 0.9711 - val_loss: 0.1005 - val_acc: 0.9594\n",
      "Epoch 2464/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0756 - acc: 0.9660 - val_loss: 0.1146 - val_acc: 0.9391\n",
      "Epoch 2465/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0860 - acc: 0.9589 - val_loss: 0.1517 - val_acc: 0.9371\n",
      "Epoch 2466/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0822 - acc: 0.9634 - val_loss: 0.1236 - val_acc: 0.9594\n",
      "Epoch 2467/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0694 - acc: 0.9675 - val_loss: 0.1228 - val_acc: 0.9452\n",
      "Epoch 2468/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0977 - acc: 0.9538 - val_loss: 0.0816 - val_acc: 0.9736\n",
      "Epoch 2469/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0670 - acc: 0.9711 - val_loss: 0.1769 - val_acc: 0.9249\n",
      "Epoch 2470/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0794 - acc: 0.9634 - val_loss: 0.0904 - val_acc: 0.9533\n",
      "Epoch 2471/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0855 - acc: 0.9584 - val_loss: 0.0897 - val_acc: 0.9635\n",
      "Epoch 2472/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0708 - acc: 0.9675 - val_loss: 0.1179 - val_acc: 0.9432\n",
      "Epoch 2473/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0711 - acc: 0.9650 - val_loss: 0.1396 - val_acc: 0.9351\n",
      "Epoch 2474/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0724 - acc: 0.9705 - val_loss: 0.1590 - val_acc: 0.9290\n",
      "Epoch 2475/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0650 - acc: 0.970 - 0s - loss: 0.0691 - acc: 0.9690 - val_loss: 0.1160 - val_acc: 0.9452\n",
      "Epoch 2476/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0886 - acc: 0.9558 - val_loss: 0.1155 - val_acc: 0.9493\n",
      "Epoch 2477/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0715 - acc: 0.9634 - val_loss: 0.1361 - val_acc: 0.9493\n",
      "Epoch 2478/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0766 - acc: 0.9644 - val_loss: 0.0826 - val_acc: 0.9716\n",
      "Epoch 2479/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0689 - acc: 0.9690 - val_loss: 0.1060 - val_acc: 0.9513\n",
      "Epoch 2480/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0765 - acc: 0.9599 - val_loss: 0.0848 - val_acc: 0.9696\n",
      "Epoch 2481/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0789 - acc: 0.9660 - val_loss: 0.0861 - val_acc: 0.9696\n",
      "Epoch 2482/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0721 - acc: 0.9690 - val_loss: 0.0960 - val_acc: 0.9675\n",
      "Epoch 2483/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0716 - acc: 0.9675 - val_loss: 0.1379 - val_acc: 0.9412\n",
      "Epoch 2484/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0832 - acc: 0.9609 - val_loss: 0.1082 - val_acc: 0.9574\n",
      "Epoch 2485/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0724 - acc: 0.9680 - val_loss: 0.1424 - val_acc: 0.9432\n",
      "Epoch 2486/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0660 - acc: 0.9690 - val_loss: 0.0927 - val_acc: 0.9615\n",
      "Epoch 2487/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0795 - acc: 0.9619 - val_loss: 0.0909 - val_acc: 0.9655\n",
      "Epoch 2488/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0709 - acc: 0.9680 - val_loss: 0.0977 - val_acc: 0.9716\n",
      "Epoch 2489/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0897 - acc: 0.9563 - val_loss: 0.1115 - val_acc: 0.9533\n",
      "Epoch 2490/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0713 - acc: 0.9700 - val_loss: 0.0950 - val_acc: 0.9675\n",
      "Epoch 2491/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0691 - acc: 0.9644 - val_loss: 0.2172 - val_acc: 0.9249\n",
      "Epoch 2492/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9655 - val_loss: 0.1532 - val_acc: 0.9473\n",
      "Epoch 2493/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0728 - acc: 0.9660 - val_loss: 0.1156 - val_acc: 0.9473\n",
      "Epoch 2494/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0746 - acc: 0.9655 - val_loss: 0.0972 - val_acc: 0.9554\n",
      "Epoch 2495/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0777 - acc: 0.9604 - val_loss: 0.1327 - val_acc: 0.9452\n",
      "Epoch 2496/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0788 - acc: 0.9675 - val_loss: 0.1023 - val_acc: 0.9655\n",
      "Epoch 2497/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0670 - acc: 0.9690 - val_loss: 0.1222 - val_acc: 0.9473\n",
      "Epoch 2498/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0803 - acc: 0.9619 - val_loss: 0.0938 - val_acc: 0.9594\n",
      "Epoch 2499/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0770 - acc: 0.9639 - val_loss: 0.1209 - val_acc: 0.9554\n",
      "Epoch 2500/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0710 - acc: 0.9665 - val_loss: 0.1264 - val_acc: 0.9412\n",
      "Epoch 2501/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0735 - acc: 0.9650 - val_loss: 0.1104 - val_acc: 0.9533\n",
      "Epoch 2502/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0753 - acc: 0.9665 - val_loss: 0.1446 - val_acc: 0.9351\n",
      "Epoch 2503/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0764 - acc: 0.9711 - val_loss: 0.1067 - val_acc: 0.9615\n",
      "Epoch 2504/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0726 - acc: 0.9670 - val_loss: 0.1094 - val_acc: 0.9533\n",
      "Epoch 2505/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0726 - acc: 0.9680 - val_loss: 0.1076 - val_acc: 0.9554\n",
      "Epoch 2506/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0796 - acc: 0.9655 - val_loss: 0.1089 - val_acc: 0.9615\n",
      "Epoch 2507/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0724 - acc: 0.9675 - val_loss: 0.1259 - val_acc: 0.9452\n",
      "Epoch 2508/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0793 - acc: 0.9619 - val_loss: 0.1120 - val_acc: 0.9635\n",
      "Epoch 2509/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0823 - acc: 0.9584 - val_loss: 0.0957 - val_acc: 0.9655\n",
      "Epoch 2510/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0786 - acc: 0.9624 - val_loss: 0.1164 - val_acc: 0.9452\n",
      "Epoch 2511/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0746 - acc: 0.9629 - val_loss: 0.1566 - val_acc: 0.9331\n",
      "Epoch 2512/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0751 - acc: 0.9660 - val_loss: 0.1144 - val_acc: 0.9554\n",
      "Epoch 2513/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0684 - acc: 0.9700 - val_loss: 0.1050 - val_acc: 0.9615\n",
      "Epoch 2514/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0717 - acc: 0.9624 - val_loss: 0.1426 - val_acc: 0.9351\n",
      "Epoch 2515/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0843 - acc: 0.9639 - val_loss: 0.0981 - val_acc: 0.9594\n",
      "Epoch 2516/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0648 - acc: 0.9695 - val_loss: 0.1100 - val_acc: 0.9513\n",
      "Epoch 2517/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0722 - acc: 0.9665 - val_loss: 0.0860 - val_acc: 0.9615\n",
      "Epoch 2518/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0709 - acc: 0.9675 - val_loss: 0.1258 - val_acc: 0.9412\n",
      "Epoch 2519/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0813 - acc: 0.9639 - val_loss: 0.1344 - val_acc: 0.9473\n",
      "Epoch 2520/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0729 - acc: 0.9690 - val_loss: 0.1581 - val_acc: 0.9391\n",
      "Epoch 2521/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0799 - acc: 0.9644 - val_loss: 0.0988 - val_acc: 0.9594\n",
      "Epoch 2522/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0739 - acc: 0.9665 - val_loss: 0.1066 - val_acc: 0.9635\n",
      "Epoch 2523/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0776 - acc: 0.9639 - val_loss: 0.1813 - val_acc: 0.9412\n",
      "Epoch 2524/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9670 - val_loss: 0.1042 - val_acc: 0.9675\n",
      "Epoch 2525/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0646 - acc: 0.9711 - val_loss: 0.1380 - val_acc: 0.9432\n",
      "Epoch 2526/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0748 - acc: 0.9670 - val_loss: 0.0899 - val_acc: 0.9736\n",
      "Epoch 2527/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0673 - acc: 0.9700 - val_loss: 0.1321 - val_acc: 0.9473\n",
      "Epoch 2528/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0759 - acc: 0.9650 - val_loss: 0.1670 - val_acc: 0.9432\n",
      "Epoch 2529/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0744 - acc: 0.9660 - val_loss: 0.0931 - val_acc: 0.9716\n",
      "Epoch 2530/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0654 - acc: 0.9700 - val_loss: 0.1141 - val_acc: 0.9554\n",
      "Epoch 2531/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0955 - acc: 0.9543 - val_loss: 0.1172 - val_acc: 0.9675\n",
      "Epoch 2532/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0640 - acc: 0.9721 - val_loss: 0.1779 - val_acc: 0.9371\n",
      "Epoch 2533/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0787 - acc: 0.9685 - val_loss: 0.1049 - val_acc: 0.9716\n",
      "Epoch 2534/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0650 - acc: 0.9731 - val_loss: 0.1179 - val_acc: 0.9533\n",
      "Epoch 2535/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0732 - acc: 0.9690 - val_loss: 0.1087 - val_acc: 0.9513\n",
      "Epoch 2536/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0750 - acc: 0.9680 - val_loss: 0.1515 - val_acc: 0.9391\n",
      "Epoch 2537/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0701 - acc: 0.9726 - val_loss: 0.0930 - val_acc: 0.9736\n",
      "Epoch 2538/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0670 - acc: 0.9700 - val_loss: 0.1711 - val_acc: 0.9290\n",
      "Epoch 2539/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0777 - acc: 0.9655 - val_loss: 0.1606 - val_acc: 0.9371\n",
      "Epoch 2540/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0876 - acc: 0.9599 - val_loss: 0.1416 - val_acc: 0.9391\n",
      "Epoch 2541/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0740 - acc: 0.9670 - val_loss: 0.1584 - val_acc: 0.9412\n",
      "Epoch 2542/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0741 - acc: 0.9650 - val_loss: 0.1169 - val_acc: 0.9533\n",
      "Epoch 2543/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0736 - acc: 0.9670 - val_loss: 0.1248 - val_acc: 0.9554\n",
      "Epoch 2544/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0799 - acc: 0.9634 - val_loss: 0.1080 - val_acc: 0.9574\n",
      "Epoch 2545/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0695 - acc: 0.9675 - val_loss: 0.1023 - val_acc: 0.9554\n",
      "Epoch 2546/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0754 - acc: 0.9604 - val_loss: 0.2013 - val_acc: 0.9290\n",
      "Epoch 2547/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0737 - acc: 0.9655 - val_loss: 0.1334 - val_acc: 0.9371\n",
      "Epoch 2548/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0747 - acc: 0.9655 - val_loss: 0.1200 - val_acc: 0.9473\n",
      "Epoch 2549/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0789 - acc: 0.9644 - val_loss: 0.0980 - val_acc: 0.9655\n",
      "Epoch 2550/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0775 - acc: 0.9594 - val_loss: 0.0957 - val_acc: 0.9635\n",
      "Epoch 2551/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9604 - val_loss: 0.1263 - val_acc: 0.9493\n",
      "Epoch 2552/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0702 - acc: 0.9650 - val_loss: 0.0968 - val_acc: 0.9696\n",
      "Epoch 2553/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0688 - acc: 0.9680 - val_loss: 0.0869 - val_acc: 0.9696\n",
      "Epoch 2554/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0760 - acc: 0.9670 - val_loss: 0.0940 - val_acc: 0.9635\n",
      "Epoch 2555/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0700 - acc: 0.9695 - val_loss: 0.0998 - val_acc: 0.9594\n",
      "Epoch 2556/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0681 - acc: 0.9685 - val_loss: 0.1189 - val_acc: 0.9513\n",
      "Epoch 2557/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0761 - acc: 0.9634 - val_loss: 0.0956 - val_acc: 0.9675\n",
      "Epoch 2558/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0809 - acc: 0.9604 - val_loss: 0.1243 - val_acc: 0.9473\n",
      "Epoch 2559/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0837 - acc: 0.9594 - val_loss: 0.1330 - val_acc: 0.9412\n",
      "Epoch 2560/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0768 - acc: 0.9650 - val_loss: 0.1106 - val_acc: 0.9554\n",
      "Epoch 2561/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0701 - acc: 0.9705 - val_loss: 0.0986 - val_acc: 0.9655\n",
      "Epoch 2562/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0740 - acc: 0.9639 - val_loss: 0.1301 - val_acc: 0.9493\n",
      "Epoch 2563/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0786 - acc: 0.9624 - val_loss: 0.2009 - val_acc: 0.9290\n",
      "Epoch 2564/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0844 - acc: 0.9599 - val_loss: 0.1774 - val_acc: 0.9351\n",
      "Epoch 2565/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0810 - acc: 0.9665 - val_loss: 0.0946 - val_acc: 0.9615\n",
      "Epoch 2566/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0674 - acc: 0.9680 - val_loss: 0.0901 - val_acc: 0.9675\n",
      "Epoch 2567/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0677 - acc: 0.9660 - val_loss: 0.0953 - val_acc: 0.9675\n",
      "Epoch 2568/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0737 - acc: 0.9660 - val_loss: 0.1032 - val_acc: 0.9635\n",
      "Epoch 2569/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0747 - acc: 0.9639 - val_loss: 0.1122 - val_acc: 0.9554\n",
      "Epoch 2570/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0653 - acc: 0.9680 - val_loss: 0.0942 - val_acc: 0.9655\n",
      "Epoch 2571/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0796 - acc: 0.9629 - val_loss: 0.1983 - val_acc: 0.9168\n",
      "Epoch 2572/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0732 - acc: 0.9655 - val_loss: 0.0824 - val_acc: 0.9757\n",
      "Epoch 2573/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9721 - val_loss: 0.1614 - val_acc: 0.9371\n",
      "Epoch 2574/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0765 - acc: 0.9675 - val_loss: 0.0847 - val_acc: 0.9736\n",
      "Epoch 2575/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0664 - acc: 0.9716 - val_loss: 0.1400 - val_acc: 0.9391\n",
      "Epoch 2576/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0769 - acc: 0.9675 - val_loss: 0.1721 - val_acc: 0.9351\n",
      "Epoch 2577/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0777 - acc: 0.9660 - val_loss: 0.1743 - val_acc: 0.9270\n",
      "Epoch 2578/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0671 - acc: 0.9716 - val_loss: 0.1048 - val_acc: 0.9635\n",
      "Epoch 2579/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0644 - acc: 0.9665 - val_loss: 0.1193 - val_acc: 0.9493\n",
      "Epoch 2580/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0764 - acc: 0.9639 - val_loss: 0.1676 - val_acc: 0.9513\n",
      "Epoch 2581/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0785 - acc: 0.9670 - val_loss: 0.0949 - val_acc: 0.9675\n",
      "Epoch 2582/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0694 - acc: 0.9655 - val_loss: 0.0902 - val_acc: 0.9736\n",
      "Epoch 2583/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0670 - acc: 0.9690 - val_loss: 0.1706 - val_acc: 0.9412\n",
      "Epoch 2584/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0766 - acc: 0.9589 - val_loss: 0.1528 - val_acc: 0.9412\n",
      "Epoch 2585/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0742 - acc: 0.9644 - val_loss: 0.1123 - val_acc: 0.9533\n",
      "Epoch 2586/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0695 - acc: 0.9685 - val_loss: 0.1435 - val_acc: 0.9412\n",
      "Epoch 2587/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0703 - acc: 0.9705 - val_loss: 0.1090 - val_acc: 0.9655\n",
      "Epoch 2588/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0761 - acc: 0.9660 - val_loss: 0.1087 - val_acc: 0.9635\n",
      "Epoch 2589/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0695 - acc: 0.9665 - val_loss: 0.1013 - val_acc: 0.9615\n",
      "Epoch 2590/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0714 - acc: 0.9685 - val_loss: 0.0933 - val_acc: 0.9716\n",
      "Epoch 2591/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0632 - acc: 0.9746 - val_loss: 0.1206 - val_acc: 0.9533\n",
      "Epoch 2592/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0732 - acc: 0.9705 - val_loss: 0.1574 - val_acc: 0.9513\n",
      "Epoch 2593/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0857 - acc: 0.9573 - val_loss: 0.1394 - val_acc: 0.9310\n",
      "Epoch 2594/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0822 - acc: 0.9599 - val_loss: 0.1093 - val_acc: 0.9594\n",
      "Epoch 2595/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0672 - acc: 0.9690 - val_loss: 0.1055 - val_acc: 0.9594\n",
      "Epoch 2596/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0720 - acc: 0.9655 - val_loss: 0.0892 - val_acc: 0.9696\n",
      "Epoch 2597/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0633 - acc: 0.9716 - val_loss: 0.1491 - val_acc: 0.9391\n",
      "Epoch 2598/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0775 - acc: 0.9614 - val_loss: 0.0887 - val_acc: 0.9716\n",
      "Epoch 2599/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0733 - acc: 0.9634 - val_loss: 0.1052 - val_acc: 0.9574\n",
      "Epoch 2600/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0736 - acc: 0.9650 - val_loss: 0.1019 - val_acc: 0.9675\n",
      "Epoch 2601/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0732 - acc: 0.9675 - val_loss: 0.1082 - val_acc: 0.9655\n",
      "Epoch 2602/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0682 - acc: 0.9680 - val_loss: 0.0928 - val_acc: 0.9696\n",
      "Epoch 2603/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0664 - acc: 0.9695 - val_loss: 0.1330 - val_acc: 0.9493\n",
      "Epoch 2604/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0776 - acc: 0.9650 - val_loss: 0.1057 - val_acc: 0.9554\n",
      "Epoch 2605/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0731 - acc: 0.9650 - val_loss: 0.1197 - val_acc: 0.9655\n",
      "Epoch 2606/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0743 - acc: 0.9594 - val_loss: 0.1244 - val_acc: 0.9452\n",
      "Epoch 2607/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0701 - acc: 0.9644 - val_loss: 0.1767 - val_acc: 0.9270\n",
      "Epoch 2608/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0758 - acc: 0.9624 - val_loss: 0.1206 - val_acc: 0.9513\n",
      "Epoch 2609/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0832 - acc: 0.9604 - val_loss: 0.1083 - val_acc: 0.9655\n",
      "Epoch 2610/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0643 - acc: 0.9705 - val_loss: 0.1039 - val_acc: 0.9615\n",
      "Epoch 2611/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0717 - acc: 0.9634 - val_loss: 0.1142 - val_acc: 0.9615\n",
      "Epoch 2612/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0709 - acc: 0.9670 - val_loss: 0.1062 - val_acc: 0.9635\n",
      "Epoch 2613/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0715 - acc: 0.9670 - val_loss: 0.0941 - val_acc: 0.9675\n",
      "Epoch 2614/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0653 - acc: 0.9700 - val_loss: 0.0968 - val_acc: 0.9615\n",
      "Epoch 2615/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0825 - acc: 0.9629 - val_loss: 0.0913 - val_acc: 0.9696\n",
      "Epoch 2616/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0734 - acc: 0.9680 - val_loss: 0.1560 - val_acc: 0.9351\n",
      "Epoch 2617/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0670 - acc: 0.9670 - val_loss: 0.1202 - val_acc: 0.9493\n",
      "Epoch 2618/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0707 - acc: 0.9644 - val_loss: 0.2060 - val_acc: 0.9310\n",
      "Epoch 2619/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0848 - acc: 0.9634 - val_loss: 0.1195 - val_acc: 0.9513\n",
      "Epoch 2620/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0838 - acc: 0.9644 - val_loss: 0.1778 - val_acc: 0.9331\n",
      "Epoch 2621/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0693 - acc: 0.9711 - val_loss: 0.1089 - val_acc: 0.9675\n",
      "Epoch 2622/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0656 - acc: 0.9690 - val_loss: 0.1195 - val_acc: 0.9493\n",
      "Epoch 2623/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0755 - acc: 0.9619 - val_loss: 0.0947 - val_acc: 0.9696\n",
      "Epoch 2624/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0632 - acc: 0.9736 - val_loss: 0.1784 - val_acc: 0.9351\n",
      "Epoch 2625/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0856 - acc: 0.9609 - val_loss: 0.0996 - val_acc: 0.9716\n",
      "Epoch 2626/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0782 - acc: 0.9634 - val_loss: 0.1123 - val_acc: 0.9554\n",
      "Epoch 2627/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0720 - acc: 0.9721 - val_loss: 0.0922 - val_acc: 0.9655\n",
      "Epoch 2628/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0695 - acc: 0.9675 - val_loss: 0.1282 - val_acc: 0.9391\n",
      "Epoch 2629/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0727 - acc: 0.9660 - val_loss: 0.1118 - val_acc: 0.9493\n",
      "Epoch 2630/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0672 - acc: 0.9680 - val_loss: 0.0996 - val_acc: 0.9655\n",
      "Epoch 2631/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0684 - acc: 0.9721 - val_loss: 0.1088 - val_acc: 0.9635\n",
      "Epoch 2632/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0803 - acc: 0.9629 - val_loss: 0.1414 - val_acc: 0.9493\n",
      "Epoch 2633/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0659 - acc: 0.9741 - val_loss: 0.1448 - val_acc: 0.9452\n",
      "Epoch 2634/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0697 - acc: 0.9675 - val_loss: 0.0926 - val_acc: 0.9696\n",
      "Epoch 2635/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0824 - acc: 0.9609 - val_loss: 0.0983 - val_acc: 0.9716\n",
      "Epoch 2636/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0829 - acc: 0.9594 - val_loss: 0.1265 - val_acc: 0.9533\n",
      "Epoch 2637/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0713 - acc: 0.9624 - val_loss: 0.1407 - val_acc: 0.9412\n",
      "Epoch 2638/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0671 - acc: 0.9705 - val_loss: 0.1050 - val_acc: 0.9716\n",
      "Epoch 2639/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0719 - acc: 0.9650 - val_loss: 0.1179 - val_acc: 0.9513\n",
      "Epoch 2640/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0695 - acc: 0.9690 - val_loss: 0.1411 - val_acc: 0.9513\n",
      "Epoch 2641/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0796 - acc: 0.9665 - val_loss: 0.0932 - val_acc: 0.9675\n",
      "Epoch 2642/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0655 - acc: 0.9695 - val_loss: 0.1071 - val_acc: 0.9594\n",
      "Epoch 2643/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9609 - val_loss: 0.0908 - val_acc: 0.9757\n",
      "Epoch 2644/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0621 - acc: 0.9741 - val_loss: 0.0988 - val_acc: 0.9655\n",
      "Epoch 2645/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0690 - acc: 0.9680 - val_loss: 0.1117 - val_acc: 0.9635\n",
      "Epoch 2646/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0630 - acc: 0.9771 - val_loss: 0.1003 - val_acc: 0.9594\n",
      "Epoch 2647/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0782 - acc: 0.9619 - val_loss: 0.1213 - val_acc: 0.9493\n",
      "Epoch 2648/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0678 - acc: 0.9675 - val_loss: 0.2224 - val_acc: 0.9249\n",
      "Epoch 2649/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0740 - acc: 0.9685 - val_loss: 0.0999 - val_acc: 0.9716\n",
      "Epoch 2650/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0725 - acc: 0.9644 - val_loss: 0.1015 - val_acc: 0.9533\n",
      "Epoch 2651/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0831 - acc: 0.9609 - val_loss: 0.1068 - val_acc: 0.9513\n",
      "Epoch 2652/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0686 - acc: 0.9675 - val_loss: 0.0961 - val_acc: 0.9696\n",
      "Epoch 2653/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0669 - acc: 0.9675 - val_loss: 0.1702 - val_acc: 0.9290\n",
      "Epoch 2654/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0715 - acc: 0.9644 - val_loss: 0.0912 - val_acc: 0.9675\n",
      "Epoch 2655/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0754 - acc: 0.9650 - val_loss: 0.1306 - val_acc: 0.9513\n",
      "Epoch 2656/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0764 - acc: 0.9650 - val_loss: 0.1073 - val_acc: 0.9574\n",
      "Epoch 2657/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0657 - acc: 0.9700 - val_loss: 0.1125 - val_acc: 0.9574\n",
      "Epoch 2658/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0731 - acc: 0.9629 - val_loss: 0.0990 - val_acc: 0.9716\n",
      "Epoch 2659/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0705 - acc: 0.9650 - val_loss: 0.1975 - val_acc: 0.9229\n",
      "Epoch 2660/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0744 - acc: 0.9639 - val_loss: 0.1085 - val_acc: 0.9574\n",
      "Epoch 2661/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0637 - acc: 0.9741 - val_loss: 0.0961 - val_acc: 0.9736\n",
      "Epoch 2662/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0718 - acc: 0.9655 - val_loss: 0.1111 - val_acc: 0.9594\n",
      "Epoch 2663/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0678 - acc: 0.9700 - val_loss: 0.1092 - val_acc: 0.9675\n",
      "Epoch 2664/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0665 - acc: 0.9690 - val_loss: 0.0961 - val_acc: 0.9635\n",
      "Epoch 2665/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0732 - acc: 0.9639 - val_loss: 0.0840 - val_acc: 0.9675\n",
      "Epoch 2666/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0778 - acc: 0.9634 - val_loss: 0.1049 - val_acc: 0.9635\n",
      "Epoch 2667/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0740 - acc: 0.9639 - val_loss: 0.1056 - val_acc: 0.9574\n",
      "Epoch 2668/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0715 - acc: 0.9629 - val_loss: 0.0933 - val_acc: 0.9675\n",
      "Epoch 2669/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0692 - acc: 0.9650 - val_loss: 0.1098 - val_acc: 0.9554\n",
      "Epoch 2670/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0753 - acc: 0.9619 - val_loss: 0.1167 - val_acc: 0.9513\n",
      "Epoch 2671/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0719 - acc: 0.9670 - val_loss: 0.1038 - val_acc: 0.9574\n",
      "Epoch 2672/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0722 - acc: 0.9660 - val_loss: 0.0902 - val_acc: 0.9655\n",
      "Epoch 2673/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0692 - acc: 0.9619 - val_loss: 0.1487 - val_acc: 0.9412\n",
      "Epoch 2674/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0777 - acc: 0.9599 - val_loss: 0.0993 - val_acc: 0.9675\n",
      "Epoch 2675/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0789 - acc: 0.9604 - val_loss: 0.0926 - val_acc: 0.9696\n",
      "Epoch 2676/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0626 - acc: 0.9726 - val_loss: 0.1374 - val_acc: 0.9452\n",
      "Epoch 2677/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0845 - acc: 0.9619 - val_loss: 0.1016 - val_acc: 0.9655\n",
      "Epoch 2678/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0832 - acc: 0.9573 - val_loss: 0.1285 - val_acc: 0.9513\n",
      "Epoch 2679/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0712 - acc: 0.9665 - val_loss: 0.0962 - val_acc: 0.9655\n",
      "Epoch 2680/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0731 - acc: 0.9629 - val_loss: 0.1737 - val_acc: 0.9412\n",
      "Epoch 2681/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0692 - acc: 0.9655 - val_loss: 0.0873 - val_acc: 0.9736\n",
      "Epoch 2682/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0705 - acc: 0.9655 - val_loss: 0.0988 - val_acc: 0.9635\n",
      "Epoch 2683/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0822 - acc: 0.9629 - val_loss: 0.1024 - val_acc: 0.9675\n",
      "Epoch 2684/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0708 - acc: 0.9650 - val_loss: 0.1692 - val_acc: 0.9270\n",
      "Epoch 2685/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0676 - acc: 0.9685 - val_loss: 0.1043 - val_acc: 0.9594\n",
      "Epoch 2686/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0710 - acc: 0.9650 - val_loss: 0.0957 - val_acc: 0.9635\n",
      "Epoch 2687/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0803 - acc: 0.9609 - val_loss: 0.1583 - val_acc: 0.9412\n",
      "Epoch 2688/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0670 - acc: 0.9741 - val_loss: 0.0990 - val_acc: 0.9635\n",
      "Epoch 2689/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0659 - acc: 0.9660 - val_loss: 0.1345 - val_acc: 0.9391\n",
      "Epoch 2690/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0762 - acc: 0.9624 - val_loss: 0.0868 - val_acc: 0.9675\n",
      "Epoch 2691/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0792 - acc: 0.9614 - val_loss: 0.0965 - val_acc: 0.9675\n",
      "Epoch 2692/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0687 - acc: 0.9665 - val_loss: 0.1507 - val_acc: 0.9412\n",
      "Epoch 2693/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0411 - acc: 0.976 - 0s - loss: 0.0676 - acc: 0.9685 - val_loss: 0.1646 - val_acc: 0.9412\n",
      "Epoch 2694/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0765 - acc: 0.9655 - val_loss: 0.1093 - val_acc: 0.9513\n",
      "Epoch 2695/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0640 - acc: 0.9711 - val_loss: 0.1064 - val_acc: 0.9574\n",
      "Epoch 2696/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0670 - acc: 0.9685 - val_loss: 0.1442 - val_acc: 0.9513\n",
      "Epoch 2697/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0724 - acc: 0.9690 - val_loss: 0.1210 - val_acc: 0.9533\n",
      "Epoch 2698/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0762 - acc: 0.9650 - val_loss: 0.1120 - val_acc: 0.9594\n",
      "Epoch 2699/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0664 - acc: 0.9690 - val_loss: 0.1133 - val_acc: 0.9533\n",
      "Epoch 2700/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0739 - acc: 0.9655 - val_loss: 0.1553 - val_acc: 0.9290\n",
      "Epoch 2701/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0749 - acc: 0.9655 - val_loss: 0.1619 - val_acc: 0.9351\n",
      "Epoch 2702/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0824 - acc: 0.9660 - val_loss: 0.1088 - val_acc: 0.9533\n",
      "Epoch 2703/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0633 - acc: 0.9711 - val_loss: 0.1288 - val_acc: 0.9533\n",
      "Epoch 2704/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0911 - acc: 0.9563 - val_loss: 0.1017 - val_acc: 0.9696\n",
      "Epoch 2705/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0649 - acc: 0.9711 - val_loss: 0.1305 - val_acc: 0.9493\n",
      "Epoch 2706/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0679 - acc: 0.9690 - val_loss: 0.1372 - val_acc: 0.9493\n",
      "Epoch 2707/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0889 - acc: 0.9599 - val_loss: 0.1382 - val_acc: 0.9493\n",
      "Epoch 2708/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0751 - acc: 0.968 - 0s - loss: 0.0675 - acc: 0.9680 - val_loss: 0.1147 - val_acc: 0.9513\n",
      "Epoch 2709/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0630 - acc: 0.9731 - val_loss: 0.0896 - val_acc: 0.9716\n",
      "Epoch 2710/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0687 - acc: 0.9705 - val_loss: 0.0962 - val_acc: 0.9675\n",
      "Epoch 2711/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0601 - acc: 0.9700 - val_loss: 0.0939 - val_acc: 0.9736\n",
      "Epoch 2712/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0784 - acc: 0.9644 - val_loss: 0.1457 - val_acc: 0.9554\n",
      "Epoch 2713/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0725 - acc: 0.9685 - val_loss: 0.1705 - val_acc: 0.9371\n",
      "Epoch 2714/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0647 - acc: 0.9736 - val_loss: 0.1162 - val_acc: 0.9554\n",
      "Epoch 2715/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0661 - acc: 0.9721 - val_loss: 0.1041 - val_acc: 0.9574\n",
      "Epoch 2716/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0661 - acc: 0.9665 - val_loss: 0.2233 - val_acc: 0.9290\n",
      "Epoch 2717/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0811 - acc: 0.9634 - val_loss: 0.1126 - val_acc: 0.9574\n",
      "Epoch 2718/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0715 - acc: 0.9675 - val_loss: 0.1768 - val_acc: 0.9351\n",
      "Epoch 2719/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0636 - acc: 0.9731 - val_loss: 0.1322 - val_acc: 0.9533\n",
      "Epoch 2720/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0637 - acc: 0.9695 - val_loss: 0.1042 - val_acc: 0.9675\n",
      "Epoch 2721/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0687 - acc: 0.9665 - val_loss: 0.1110 - val_acc: 0.9594\n",
      "Epoch 2722/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0662 - acc: 0.9690 - val_loss: 0.1502 - val_acc: 0.9412\n",
      "Epoch 2723/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0730 - acc: 0.9685 - val_loss: 0.1143 - val_acc: 0.9554\n",
      "Epoch 2724/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0666 - acc: 0.9695 - val_loss: 0.1333 - val_acc: 0.9594\n",
      "Epoch 2725/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0821 - acc: 0.9639 - val_loss: 0.1133 - val_acc: 0.9533\n",
      "Epoch 2726/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0627 - acc: 0.9726 - val_loss: 0.1011 - val_acc: 0.9594\n",
      "Epoch 2727/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0718 - acc: 0.9660 - val_loss: 0.0884 - val_acc: 0.9716\n",
      "Epoch 2728/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0861 - acc: 0.9578 - val_loss: 0.1243 - val_acc: 0.9554\n",
      "Epoch 2729/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0657 - acc: 0.9741 - val_loss: 0.0928 - val_acc: 0.9736\n",
      "Epoch 2730/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0575 - acc: 0.992 - 0s - loss: 0.0752 - acc: 0.9665 - val_loss: 0.1037 - val_acc: 0.9675\n",
      "Epoch 2731/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0671 - acc: 0.9695 - val_loss: 0.0919 - val_acc: 0.9716\n",
      "Epoch 2732/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0721 - acc: 0.9716 - val_loss: 0.1496 - val_acc: 0.9391\n",
      "Epoch 2733/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0763 - acc: 0.9675 - val_loss: 0.1075 - val_acc: 0.9594\n",
      "Epoch 2734/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0741 - acc: 0.9655 - val_loss: 0.1868 - val_acc: 0.9270\n",
      "Epoch 2735/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0779 - acc: 0.9604 - val_loss: 0.1046 - val_acc: 0.9574\n",
      "Epoch 2736/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0633 - acc: 0.9716 - val_loss: 0.0955 - val_acc: 0.9675\n",
      "Epoch 2737/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0645 - acc: 0.9711 - val_loss: 0.1070 - val_acc: 0.9574\n",
      "Epoch 2738/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0650 - acc: 0.9670 - val_loss: 0.1056 - val_acc: 0.9696\n",
      "Epoch 2739/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0654 - acc: 0.9700 - val_loss: 0.1108 - val_acc: 0.9554\n",
      "Epoch 2740/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0686 - acc: 0.9695 - val_loss: 0.1008 - val_acc: 0.9615\n",
      "Epoch 2741/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0687 - acc: 0.9685 - val_loss: 0.0866 - val_acc: 0.9757\n",
      "Epoch 2742/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0696 - acc: 0.9705 - val_loss: 0.2517 - val_acc: 0.9148\n",
      "Epoch 2743/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0896 - acc: 0.9644 - val_loss: 0.1007 - val_acc: 0.9635\n",
      "Epoch 2744/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0766 - acc: 0.9639 - val_loss: 0.1134 - val_acc: 0.9635\n",
      "Epoch 2745/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0619 - acc: 0.9700 - val_loss: 0.1057 - val_acc: 0.9513\n",
      "Epoch 2746/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0751 - acc: 0.9634 - val_loss: 0.1308 - val_acc: 0.9493\n",
      "Epoch 2747/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0665 - acc: 0.9675 - val_loss: 0.1395 - val_acc: 0.9391\n",
      "Epoch 2748/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0663 - acc: 0.9705 - val_loss: 0.2114 - val_acc: 0.9290\n",
      "Epoch 2749/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0725 - acc: 0.9721 - val_loss: 0.1137 - val_acc: 0.9635\n",
      "Epoch 2750/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0641 - acc: 0.9705 - val_loss: 0.1188 - val_acc: 0.9554\n",
      "Epoch 2751/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0674 - acc: 0.9690 - val_loss: 0.1762 - val_acc: 0.9310\n",
      "Epoch 2752/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0637 - acc: 0.9726 - val_loss: 0.1159 - val_acc: 0.9533\n",
      "Epoch 2753/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0717 - acc: 0.9644 - val_loss: 0.0996 - val_acc: 0.9655\n",
      "Epoch 2754/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9604 - val_loss: 0.1409 - val_acc: 0.9493\n",
      "Epoch 2755/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0668 - acc: 0.9675 - val_loss: 0.1064 - val_acc: 0.9594\n",
      "Epoch 2756/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0701 - acc: 0.9660 - val_loss: 0.0923 - val_acc: 0.9655\n",
      "Epoch 2757/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0651 - acc: 0.9711 - val_loss: 0.1067 - val_acc: 0.9574\n",
      "Epoch 2758/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0612 - acc: 0.9736 - val_loss: 0.2619 - val_acc: 0.9108\n",
      "Epoch 2759/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0732 - acc: 0.9685 - val_loss: 0.1328 - val_acc: 0.9452\n",
      "Epoch 2760/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0743 - acc: 0.9639 - val_loss: 0.1092 - val_acc: 0.9594\n",
      "Epoch 2761/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0652 - acc: 0.9731 - val_loss: 0.1155 - val_acc: 0.9513\n",
      "Epoch 2762/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0726 - acc: 0.9675 - val_loss: 0.1093 - val_acc: 0.9635\n",
      "Epoch 2763/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0606 - acc: 0.9741 - val_loss: 0.1308 - val_acc: 0.9574\n",
      "Epoch 2764/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0655 - acc: 0.9690 - val_loss: 0.1354 - val_acc: 0.9473\n",
      "Epoch 2765/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0790 - acc: 0.9614 - val_loss: 0.1068 - val_acc: 0.9675\n",
      "Epoch 2766/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0659 - acc: 0.9705 - val_loss: 0.1128 - val_acc: 0.9594\n",
      "Epoch 2767/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0707 - acc: 0.9670 - val_loss: 0.1259 - val_acc: 0.9554\n",
      "Epoch 2768/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0743 - acc: 0.9650 - val_loss: 0.1060 - val_acc: 0.9696\n",
      "Epoch 2769/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0658 - acc: 0.9685 - val_loss: 0.1288 - val_acc: 0.9513\n",
      "Epoch 2770/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0609 - acc: 0.9736 - val_loss: 0.1955 - val_acc: 0.9391\n",
      "Epoch 2771/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0675 - acc: 0.9690 - val_loss: 0.1818 - val_acc: 0.9249\n",
      "Epoch 2772/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0710 - acc: 0.9690 - val_loss: 0.1040 - val_acc: 0.9635\n",
      "Epoch 2773/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0651 - acc: 0.9716 - val_loss: 0.0977 - val_acc: 0.9635\n",
      "Epoch 2774/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0662 - acc: 0.9736 - val_loss: 0.0929 - val_acc: 0.9696\n",
      "Epoch 2775/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0715 - acc: 0.9665 - val_loss: 0.1528 - val_acc: 0.9432\n",
      "Epoch 2776/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0658 - acc: 0.9690 - val_loss: 0.1916 - val_acc: 0.9249\n",
      "Epoch 2777/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0738 - acc: 0.9629 - val_loss: 0.1027 - val_acc: 0.9696\n",
      "Epoch 2778/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0623 - acc: 0.9716 - val_loss: 0.1069 - val_acc: 0.9736\n",
      "Epoch 2779/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0645 - acc: 0.9721 - val_loss: 0.1272 - val_acc: 0.9493\n",
      "Epoch 2780/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0730 - acc: 0.9680 - val_loss: 0.1031 - val_acc: 0.9574\n",
      "Epoch 2781/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0698 - acc: 0.9644 - val_loss: 0.1329 - val_acc: 0.9432\n",
      "Epoch 2782/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0758 - acc: 0.9624 - val_loss: 0.1797 - val_acc: 0.9371\n",
      "Epoch 2783/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0669 - acc: 0.9731 - val_loss: 0.1332 - val_acc: 0.9493\n",
      "Epoch 2784/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0652 - acc: 0.9690 - val_loss: 0.1569 - val_acc: 0.9391\n",
      "Epoch 2785/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0757 - acc: 0.9650 - val_loss: 0.1321 - val_acc: 0.9574\n",
      "Epoch 2786/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0731 - acc: 0.9660 - val_loss: 0.1010 - val_acc: 0.9675\n",
      "Epoch 2787/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0639 - acc: 0.9695 - val_loss: 0.1118 - val_acc: 0.9635\n",
      "Epoch 2788/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0694 - acc: 0.9660 - val_loss: 0.1543 - val_acc: 0.9432\n",
      "Epoch 2789/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0688 - acc: 0.9655 - val_loss: 0.1286 - val_acc: 0.9554\n",
      "Epoch 2790/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0748 - acc: 0.9644 - val_loss: 0.1385 - val_acc: 0.9513\n",
      "Epoch 2791/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0775 - acc: 0.9634 - val_loss: 0.1276 - val_acc: 0.9513\n",
      "Epoch 2792/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0672 - acc: 0.9690 - val_loss: 0.1918 - val_acc: 0.9351\n",
      "Epoch 2793/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0724 - acc: 0.9680 - val_loss: 0.1957 - val_acc: 0.9331\n",
      "Epoch 2794/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0751 - acc: 0.9614 - val_loss: 0.0949 - val_acc: 0.9655\n",
      "Epoch 2795/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0792 - acc: 0.9594 - val_loss: 0.1027 - val_acc: 0.9716\n",
      "Epoch 2796/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0680 - acc: 0.9690 - val_loss: 0.1533 - val_acc: 0.9412\n",
      "Epoch 2797/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0680 - acc: 0.9695 - val_loss: 0.1172 - val_acc: 0.9615\n",
      "Epoch 2798/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0666 - acc: 0.9690 - val_loss: 0.1347 - val_acc: 0.9412\n",
      "Epoch 2799/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0687 - acc: 0.9695 - val_loss: 0.0928 - val_acc: 0.9655\n",
      "Epoch 2800/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0768 - acc: 0.9624 - val_loss: 0.1303 - val_acc: 0.9493\n",
      "Epoch 2801/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0719 - acc: 0.9660 - val_loss: 0.2976 - val_acc: 0.8986\n",
      "Epoch 2802/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0821 - acc: 0.9660 - val_loss: 0.1182 - val_acc: 0.9513\n",
      "Epoch 2803/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0612 - acc: 0.9700 - val_loss: 0.1422 - val_acc: 0.9391\n",
      "Epoch 2804/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0699 - acc: 0.9670 - val_loss: 0.1306 - val_acc: 0.9452\n",
      "Epoch 2805/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0722 - acc: 0.9619 - val_loss: 0.0999 - val_acc: 0.9675\n",
      "Epoch 2806/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0633 - acc: 0.9700 - val_loss: 0.1111 - val_acc: 0.9594\n",
      "Epoch 2807/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0675 - acc: 0.9670 - val_loss: 0.1893 - val_acc: 0.9351\n",
      "Epoch 2808/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0621 - acc: 0.9711 - val_loss: 0.1233 - val_acc: 0.9554\n",
      "Epoch 2809/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0889 - acc: 0.953 - 0s - loss: 0.0650 - acc: 0.9695 - val_loss: 0.1043 - val_acc: 0.9594\n",
      "Epoch 2810/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0759 - acc: 0.9644 - val_loss: 0.1217 - val_acc: 0.9675\n",
      "Epoch 2811/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0746 - acc: 0.9639 - val_loss: 0.1791 - val_acc: 0.9310\n",
      "Epoch 2812/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0664 - acc: 0.9685 - val_loss: 0.1010 - val_acc: 0.9696\n",
      "Epoch 2813/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0658 - acc: 0.9711 - val_loss: 0.1268 - val_acc: 0.9493\n",
      "Epoch 2814/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0671 - acc: 0.9675 - val_loss: 0.0921 - val_acc: 0.9716\n",
      "Epoch 2815/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0623 - acc: 0.9700 - val_loss: 0.1430 - val_acc: 0.9351\n",
      "Epoch 2816/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0758 - acc: 0.9619 - val_loss: 0.3058 - val_acc: 0.9148\n",
      "Epoch 2817/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0743 - acc: 0.9700 - val_loss: 0.1036 - val_acc: 0.9635\n",
      "Epoch 2818/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0616 - acc: 0.9705 - val_loss: 0.1426 - val_acc: 0.9351\n",
      "Epoch 2819/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0636 - acc: 0.9700 - val_loss: 0.1288 - val_acc: 0.9432\n",
      "Epoch 2820/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0714 - acc: 0.9614 - val_loss: 0.1255 - val_acc: 0.9574\n",
      "Epoch 2821/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0629 - acc: 0.9726 - val_loss: 0.1118 - val_acc: 0.9554\n",
      "Epoch 2822/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0658 - acc: 0.9711 - val_loss: 0.1310 - val_acc: 0.9554\n",
      "Epoch 2823/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0706 - acc: 0.9644 - val_loss: 0.1172 - val_acc: 0.9554\n",
      "Epoch 2824/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0653 - acc: 0.9731 - val_loss: 0.1062 - val_acc: 0.9635\n",
      "Epoch 2825/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0662 - acc: 0.9700 - val_loss: 0.1029 - val_acc: 0.9696\n",
      "Epoch 2826/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0660 - acc: 0.9705 - val_loss: 0.1373 - val_acc: 0.9554\n",
      "Epoch 2827/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0619 - acc: 0.9721 - val_loss: 0.2061 - val_acc: 0.9310\n",
      "Epoch 2828/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0911 - acc: 0.9644 - val_loss: 0.1033 - val_acc: 0.9736\n",
      "Epoch 2829/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0680 - acc: 0.9685 - val_loss: 0.1034 - val_acc: 0.9594\n",
      "Epoch 2830/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0624 - acc: 0.9711 - val_loss: 0.1477 - val_acc: 0.9513\n",
      "Epoch 2831/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0422 - acc: 0.984 - 0s - loss: 0.0632 - acc: 0.9731 - val_loss: 0.1046 - val_acc: 0.9574\n",
      "Epoch 2832/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0627 - acc: 0.9726 - val_loss: 0.1085 - val_acc: 0.9675\n",
      "Epoch 2833/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0585 - acc: 0.9751 - val_loss: 0.0986 - val_acc: 0.9635\n",
      "Epoch 2834/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0745 - acc: 0.9644 - val_loss: 0.1006 - val_acc: 0.9635\n",
      "Epoch 2835/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0684 - acc: 0.9705 - val_loss: 0.1467 - val_acc: 0.9412\n",
      "Epoch 2836/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0590 - acc: 0.9771 - val_loss: 0.0906 - val_acc: 0.9675\n",
      "Epoch 2837/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0835 - acc: 0.960 - 0s - loss: 0.0661 - acc: 0.9711 - val_loss: 0.1917 - val_acc: 0.9270\n",
      "Epoch 2838/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0687 - acc: 0.9695 - val_loss: 0.1082 - val_acc: 0.9574\n",
      "Epoch 2839/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0702 - acc: 0.9670 - val_loss: 0.1625 - val_acc: 0.9371\n",
      "Epoch 2840/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0782 - acc: 0.9634 - val_loss: 0.1154 - val_acc: 0.9513\n",
      "Epoch 2841/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0694 - acc: 0.9660 - val_loss: 0.0947 - val_acc: 0.9716\n",
      "Epoch 2842/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0694 - acc: 0.976 - 0s - loss: 0.0748 - acc: 0.9660 - val_loss: 0.1208 - val_acc: 0.9513\n",
      "Epoch 2843/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0656 - acc: 0.9675 - val_loss: 0.0902 - val_acc: 0.9716\n",
      "Epoch 2844/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0619 - acc: 0.9751 - val_loss: 0.0936 - val_acc: 0.9574\n",
      "Epoch 2845/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0714 - acc: 0.9634 - val_loss: 0.1398 - val_acc: 0.9432\n",
      "Epoch 2846/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0752 - acc: 0.9665 - val_loss: 0.1278 - val_acc: 0.9493\n",
      "Epoch 2847/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0743 - acc: 0.9655 - val_loss: 0.1516 - val_acc: 0.9473\n",
      "Epoch 2848/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0815 - acc: 0.9624 - val_loss: 0.1106 - val_acc: 0.9716\n",
      "Epoch 2849/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0664 - acc: 0.9700 - val_loss: 0.1049 - val_acc: 0.9655\n",
      "Epoch 2850/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0854 - acc: 0.9599 - val_loss: 0.1602 - val_acc: 0.9432\n",
      "Epoch 2851/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0686 - acc: 0.9726 - val_loss: 0.1190 - val_acc: 0.9615\n",
      "Epoch 2852/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0602 - acc: 0.9721 - val_loss: 0.1627 - val_acc: 0.9371\n",
      "Epoch 2853/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0610 - acc: 0.9746 - val_loss: 0.0947 - val_acc: 0.9716\n",
      "Epoch 2854/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0702 - acc: 0.9650 - val_loss: 0.1233 - val_acc: 0.9675\n",
      "Epoch 2855/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0719 - acc: 0.9665 - val_loss: 0.2942 - val_acc: 0.9209\n",
      "Epoch 2856/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0752 - acc: 0.9721 - val_loss: 0.1703 - val_acc: 0.9452\n",
      "Epoch 2857/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0646 - acc: 0.9700 - val_loss: 0.1133 - val_acc: 0.9574\n",
      "Epoch 2858/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0634 - acc: 0.9726 - val_loss: 0.2287 - val_acc: 0.9270\n",
      "Epoch 2859/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0653 - acc: 0.9680 - val_loss: 0.1168 - val_acc: 0.9513\n",
      "Epoch 2860/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0594 - acc: 0.9746 - val_loss: 0.0895 - val_acc: 0.9716\n",
      "Epoch 2861/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9690 - val_loss: 0.1371 - val_acc: 0.9473\n",
      "Epoch 2862/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0676 - acc: 0.9695 - val_loss: 0.1249 - val_acc: 0.9533\n",
      "Epoch 2863/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0674 - acc: 0.9716 - val_loss: 0.0948 - val_acc: 0.9696\n",
      "Epoch 2864/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0660 - acc: 0.9680 - val_loss: 0.1757 - val_acc: 0.9391\n",
      "Epoch 2865/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0736 - acc: 0.9680 - val_loss: 0.1192 - val_acc: 0.9513\n",
      "Epoch 2866/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0684 - acc: 0.9675 - val_loss: 0.1031 - val_acc: 0.9635\n",
      "Epoch 2867/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0652 - acc: 0.9705 - val_loss: 0.1481 - val_acc: 0.9412\n",
      "Epoch 2868/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0683 - acc: 0.9705 - val_loss: 0.1218 - val_acc: 0.9493\n",
      "Epoch 2869/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0640 - acc: 0.9695 - val_loss: 0.1269 - val_acc: 0.9533\n",
      "Epoch 2870/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0763 - acc: 0.9670 - val_loss: 0.1817 - val_acc: 0.9412\n",
      "Epoch 2871/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0824 - acc: 0.9655 - val_loss: 0.1084 - val_acc: 0.9615\n",
      "Epoch 2872/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0632 - acc: 0.9675 - val_loss: 0.1705 - val_acc: 0.9432\n",
      "Epoch 2873/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0704 - acc: 0.9655 - val_loss: 0.1801 - val_acc: 0.9391\n",
      "Epoch 2874/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0609 - acc: 0.9726 - val_loss: 0.1933 - val_acc: 0.9290\n",
      "Epoch 2875/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0674 - acc: 0.9695 - val_loss: 0.0981 - val_acc: 0.9696\n",
      "Epoch 2876/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0717 - acc: 0.9624 - val_loss: 0.1101 - val_acc: 0.9574\n",
      "Epoch 2877/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0733 - acc: 0.9639 - val_loss: 0.0962 - val_acc: 0.9655\n",
      "Epoch 2878/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0693 - acc: 0.9695 - val_loss: 0.1186 - val_acc: 0.9635\n",
      "Epoch 2879/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0868 - acc: 0.9558 - val_loss: 0.1166 - val_acc: 0.9716\n",
      "Epoch 2880/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0582 - acc: 0.9736 - val_loss: 0.1293 - val_acc: 0.9594\n",
      "Epoch 2881/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0756 - acc: 0.9665 - val_loss: 0.1793 - val_acc: 0.9351\n",
      "Epoch 2882/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0639 - acc: 0.9700 - val_loss: 0.1217 - val_acc: 0.9574\n",
      "Epoch 2883/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0599 - acc: 0.9721 - val_loss: 0.1760 - val_acc: 0.9371\n",
      "Epoch 2884/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0664 - acc: 0.9716 - val_loss: 0.1866 - val_acc: 0.9432\n",
      "Epoch 2885/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0772 - acc: 0.9624 - val_loss: 0.1226 - val_acc: 0.9574\n",
      "Epoch 2886/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0695 - acc: 0.9670 - val_loss: 0.1666 - val_acc: 0.9351\n",
      "Epoch 2887/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0784 - acc: 0.9599 - val_loss: 0.1504 - val_acc: 0.9493\n",
      "Epoch 2888/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0609 - acc: 0.9711 - val_loss: 0.1027 - val_acc: 0.9736\n",
      "Epoch 2889/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0588 - acc: 0.9741 - val_loss: 0.1674 - val_acc: 0.9351\n",
      "Epoch 2890/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0647 - acc: 0.9736 - val_loss: 0.1062 - val_acc: 0.9594\n",
      "Epoch 2891/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0610 - acc: 0.9716 - val_loss: 0.1022 - val_acc: 0.9675\n",
      "Epoch 2892/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0645 - acc: 0.9695 - val_loss: 0.1561 - val_acc: 0.9513\n",
      "Epoch 2893/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0777 - acc: 0.9675 - val_loss: 0.1326 - val_acc: 0.9736\n",
      "Epoch 2894/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0612 - acc: 0.9761 - val_loss: 0.1455 - val_acc: 0.9594\n",
      "Epoch 2895/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0603 - acc: 0.9741 - val_loss: 0.1300 - val_acc: 0.9615\n",
      "Epoch 2896/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0666 - acc: 0.9665 - val_loss: 0.1492 - val_acc: 0.9554\n",
      "Epoch 2897/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0640 - acc: 0.9695 - val_loss: 0.1688 - val_acc: 0.9513\n",
      "Epoch 2898/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0629 - acc: 0.9721 - val_loss: 0.1318 - val_acc: 0.9615\n",
      "Epoch 2899/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0588 - acc: 0.9746 - val_loss: 0.1529 - val_acc: 0.9594\n",
      "Epoch 2900/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0623 - acc: 0.9705 - val_loss: 0.1308 - val_acc: 0.9696\n",
      "Epoch 2901/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0594 - acc: 0.9731 - val_loss: 0.1353 - val_acc: 0.9533\n",
      "Epoch 2902/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0718 - acc: 0.9665 - val_loss: 0.1324 - val_acc: 0.9655\n",
      "Epoch 2903/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0721 - acc: 0.9629 - val_loss: 0.1667 - val_acc: 0.9513\n",
      "Epoch 2904/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0730 - acc: 0.9650 - val_loss: 0.1368 - val_acc: 0.9655\n",
      "Epoch 2905/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0680 - acc: 0.9721 - val_loss: 0.1167 - val_acc: 0.9696\n",
      "Epoch 2906/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0632 - acc: 0.9726 - val_loss: 0.1916 - val_acc: 0.9290\n",
      "Epoch 2907/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0668 - acc: 0.9690 - val_loss: 0.1299 - val_acc: 0.9655\n",
      "Epoch 2908/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0658 - acc: 0.9695 - val_loss: 0.1221 - val_acc: 0.9635\n",
      "Epoch 2909/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0576 - acc: 0.9751 - val_loss: 0.1694 - val_acc: 0.9391\n",
      "Epoch 2910/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0836 - acc: 0.9665 - val_loss: 0.1781 - val_acc: 0.9473\n",
      "Epoch 2911/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0721 - acc: 0.9644 - val_loss: 0.1468 - val_acc: 0.9554\n",
      "Epoch 2912/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0675 - acc: 0.9675 - val_loss: 0.1181 - val_acc: 0.9696\n",
      "Epoch 2913/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9721 - val_loss: 0.1527 - val_acc: 0.9513\n",
      "Epoch 2914/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0670 - acc: 0.9705 - val_loss: 0.1168 - val_acc: 0.9716\n",
      "Epoch 2915/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0649 - acc: 0.9700 - val_loss: 0.1564 - val_acc: 0.9391\n",
      "Epoch 2916/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1054 - acc: 0.953 - 0s - loss: 0.0615 - acc: 0.9711 - val_loss: 0.1414 - val_acc: 0.9554\n",
      "Epoch 2917/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0736 - acc: 0.9644 - val_loss: 0.1416 - val_acc: 0.9615\n",
      "Epoch 2918/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0572 - acc: 0.9756 - val_loss: 0.1130 - val_acc: 0.9716\n",
      "Epoch 2919/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0596 - acc: 0.9751 - val_loss: 0.1760 - val_acc: 0.9351\n",
      "Epoch 2920/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0652 - acc: 0.9695 - val_loss: 0.1075 - val_acc: 0.9696\n",
      "Epoch 2921/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0691 - acc: 0.9685 - val_loss: 0.1563 - val_acc: 0.9574\n",
      "Epoch 2922/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0578 - acc: 0.9746 - val_loss: 0.1192 - val_acc: 0.9655\n",
      "Epoch 2923/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0576 - acc: 0.9761 - val_loss: 0.1414 - val_acc: 0.9594\n",
      "Epoch 2924/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0622 - acc: 0.9731 - val_loss: 0.1963 - val_acc: 0.9351\n",
      "Epoch 2925/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0764 - acc: 0.9670 - val_loss: 0.1400 - val_acc: 0.9533\n",
      "Epoch 2926/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0679 - acc: 0.9680 - val_loss: 0.2447 - val_acc: 0.9209\n",
      "Epoch 2927/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0694 - acc: 0.9736 - val_loss: 0.1926 - val_acc: 0.9391\n",
      "Epoch 2928/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0716 - acc: 0.9705 - val_loss: 0.1572 - val_acc: 0.9432\n",
      "Epoch 2929/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0692 - acc: 0.9660 - val_loss: 0.1296 - val_acc: 0.9554\n",
      "Epoch 2930/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0678 - acc: 0.9660 - val_loss: 0.1138 - val_acc: 0.9696\n",
      "Epoch 2931/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0565 - acc: 0.9766 - val_loss: 0.1231 - val_acc: 0.9574\n",
      "Epoch 2932/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0551 - acc: 0.9782 - val_loss: 0.1859 - val_acc: 0.9391\n",
      "Epoch 2933/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0802 - acc: 0.9665 - val_loss: 0.1074 - val_acc: 0.9675\n",
      "Epoch 2934/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0578 - acc: 0.9771 - val_loss: 0.1461 - val_acc: 0.9473\n",
      "Epoch 2935/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0641 - acc: 0.9721 - val_loss: 0.1148 - val_acc: 0.9716\n",
      "Epoch 2936/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0620 - acc: 0.9721 - val_loss: 0.1363 - val_acc: 0.9594\n",
      "Epoch 2937/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0726 - acc: 0.9665 - val_loss: 0.1504 - val_acc: 0.9513\n",
      "Epoch 2938/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0597 - acc: 0.9721 - val_loss: 0.1424 - val_acc: 0.9513\n",
      "Epoch 2939/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0698 - acc: 0.9634 - val_loss: 0.1326 - val_acc: 0.9533\n",
      "Epoch 2940/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0704 - acc: 0.9685 - val_loss: 0.1039 - val_acc: 0.9736\n",
      "Epoch 2941/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0681 - acc: 0.9721 - val_loss: 0.1200 - val_acc: 0.9655\n",
      "Epoch 2942/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0594 - acc: 0.9726 - val_loss: 0.1136 - val_acc: 0.9675\n",
      "Epoch 2943/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0621 - acc: 0.9721 - val_loss: 0.1132 - val_acc: 0.9675\n",
      "Epoch 2944/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0744 - acc: 0.9675 - val_loss: 0.2069 - val_acc: 0.9351\n",
      "Epoch 2945/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0632 - acc: 0.9726 - val_loss: 0.2616 - val_acc: 0.9249\n",
      "Epoch 2946/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0790 - acc: 0.9604 - val_loss: 0.1324 - val_acc: 0.9493\n",
      "Epoch 2947/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0632 - acc: 0.9726 - val_loss: 0.1075 - val_acc: 0.9696\n",
      "Epoch 2948/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0536 - acc: 0.9766 - val_loss: 0.1187 - val_acc: 0.9554\n",
      "Epoch 2949/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0557 - acc: 0.9761 - val_loss: 0.1457 - val_acc: 0.9432\n",
      "Epoch 2950/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0654 - acc: 0.9711 - val_loss: 0.1151 - val_acc: 0.9696\n",
      "Epoch 2951/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0664 - acc: 0.9680 - val_loss: 0.1304 - val_acc: 0.9594\n",
      "Epoch 2952/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0617 - acc: 0.9705 - val_loss: 0.1322 - val_acc: 0.9554\n",
      "Epoch 2953/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0662 - acc: 0.9665 - val_loss: 0.1111 - val_acc: 0.9574\n",
      "Epoch 2954/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0789 - acc: 0.9614 - val_loss: 0.1696 - val_acc: 0.9432\n",
      "Epoch 2955/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0765 - acc: 0.9609 - val_loss: 0.0986 - val_acc: 0.9716\n",
      "Epoch 2956/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0646 - acc: 0.9695 - val_loss: 0.1227 - val_acc: 0.9493\n",
      "Epoch 2957/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0643 - acc: 0.9700 - val_loss: 0.1342 - val_acc: 0.9533\n",
      "Epoch 2958/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0580 - acc: 0.9751 - val_loss: 0.1097 - val_acc: 0.9675\n",
      "Epoch 2959/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0622 - acc: 0.9721 - val_loss: 0.1707 - val_acc: 0.9331\n",
      "Epoch 2960/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0667 - acc: 0.9705 - val_loss: 0.1139 - val_acc: 0.9675\n",
      "Epoch 2961/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0569 - acc: 0.9721 - val_loss: 0.2351 - val_acc: 0.9249\n",
      "Epoch 2962/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0771 - acc: 0.9685 - val_loss: 0.1123 - val_acc: 0.9574\n",
      "Epoch 2963/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0660 - acc: 0.9680 - val_loss: 0.1155 - val_acc: 0.9574\n",
      "Epoch 2964/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0688 - acc: 0.9695 - val_loss: 0.1220 - val_acc: 0.9554\n",
      "Epoch 2965/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0629 - acc: 0.9716 - val_loss: 0.1226 - val_acc: 0.9493\n",
      "Epoch 2966/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0630 - acc: 0.9665 - val_loss: 0.1231 - val_acc: 0.9594\n",
      "Epoch 2967/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0627 - acc: 0.9705 - val_loss: 0.1193 - val_acc: 0.9716\n",
      "Epoch 2968/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0633 - acc: 0.9685 - val_loss: 0.1485 - val_acc: 0.9594\n",
      "Epoch 2969/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0710 - acc: 0.9660 - val_loss: 0.1495 - val_acc: 0.9594\n",
      "Epoch 2970/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0644 - acc: 0.9685 - val_loss: 0.1255 - val_acc: 0.9594\n",
      "Epoch 2971/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0817 - acc: 0.9609 - val_loss: 0.1197 - val_acc: 0.9615\n",
      "Epoch 2972/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0608 - acc: 0.9726 - val_loss: 0.1447 - val_acc: 0.9391\n",
      "Epoch 2973/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0694 - acc: 0.9675 - val_loss: 0.1572 - val_acc: 0.9696\n",
      "Epoch 2974/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0591 - acc: 0.9731 - val_loss: 0.1225 - val_acc: 0.95540.977\n",
      "Epoch 2975/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0671 - acc: 0.9665 - val_loss: 0.1726 - val_acc: 0.9412\n",
      "Epoch 2976/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0649 - acc: 0.9736 - val_loss: 0.1404 - val_acc: 0.9533\n",
      "Epoch 2977/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0672 - acc: 0.9716 - val_loss: 0.1428 - val_acc: 0.9513\n",
      "Epoch 2978/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0695 - acc: 0.9741 - val_loss: 0.1176 - val_acc: 0.9736\n",
      "Epoch 2979/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0613 - acc: 0.9736 - val_loss: 0.1141 - val_acc: 0.9675\n",
      "Epoch 2980/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0696 - acc: 0.9670 - val_loss: 0.1465 - val_acc: 0.9493\n",
      "Epoch 2981/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0743 - acc: 0.9675 - val_loss: 0.1149 - val_acc: 0.9675\n",
      "Epoch 2982/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0586 - acc: 0.9756 - val_loss: 0.1085 - val_acc: 0.9696\n",
      "Epoch 2983/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0656 - acc: 0.9690 - val_loss: 0.1247 - val_acc: 0.9635\n",
      "Epoch 2984/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0635 - acc: 0.9761 - val_loss: 0.1104 - val_acc: 0.9655\n",
      "Epoch 2985/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0660 - acc: 0.9726 - val_loss: 0.1154 - val_acc: 0.9635\n",
      "Epoch 2986/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0575 - acc: 0.9771 - val_loss: 0.1271 - val_acc: 0.9554\n",
      "Epoch 2987/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0774 - acc: 0.9624 - val_loss: 0.1378 - val_acc: 0.9493\n",
      "Epoch 2988/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0680 - acc: 0.9670 - val_loss: 0.1139 - val_acc: 0.9615\n",
      "Epoch 2989/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0621 - acc: 0.9741 - val_loss: 0.1151 - val_acc: 0.9675\n",
      "Epoch 2990/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0600 - acc: 0.9721 - val_loss: 0.1277 - val_acc: 0.9554\n",
      "Epoch 2991/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0654 - acc: 0.9685 - val_loss: 0.1147 - val_acc: 0.9594\n",
      "Epoch 2992/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0701 - acc: 0.9670 - val_loss: 0.1273 - val_acc: 0.9594\n",
      "Epoch 2993/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0629 - acc: 0.9731 - val_loss: 0.1224 - val_acc: 0.9615\n",
      "Epoch 2994/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0692 - acc: 0.9675 - val_loss: 0.1867 - val_acc: 0.9432\n",
      "Epoch 2995/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0836 - acc: 0.9614 - val_loss: 0.1682 - val_acc: 0.9513\n",
      "Epoch 2996/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0666 - acc: 0.9726 - val_loss: 0.1507 - val_acc: 0.9473\n",
      "Epoch 2997/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0599 - acc: 0.9721 - val_loss: 0.1269 - val_acc: 0.9635\n",
      "Epoch 2998/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0684 - acc: 0.9685 - val_loss: 0.1423 - val_acc: 0.9594\n",
      "Epoch 2999/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0639 - acc: 0.9665 - val_loss: 0.1962 - val_acc: 0.9351\n",
      "Epoch 3000/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0662 - acc: 0.976 - 0s - loss: 0.0590 - acc: 0.9756 - val_loss: 0.1128 - val_acc: 0.9757\n",
      "Epoch 3001/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0649 - acc: 0.9726 - val_loss: 0.1214 - val_acc: 0.9655\n",
      "Epoch 3002/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0615 - acc: 0.9700 - val_loss: 0.1380 - val_acc: 0.9473\n",
      "Epoch 3003/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0691 - acc: 0.9685 - val_loss: 0.1092 - val_acc: 0.9675\n",
      "Epoch 3004/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0595 - acc: 0.9726 - val_loss: 0.1321 - val_acc: 0.9574\n",
      "Epoch 3005/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0654 - acc: 0.9705 - val_loss: 0.1535 - val_acc: 0.9473\n",
      "Epoch 3006/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0704 - acc: 0.9655 - val_loss: 0.1895 - val_acc: 0.9412\n",
      "Epoch 3007/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0665 - acc: 0.9705 - val_loss: 0.1379 - val_acc: 0.9635\n",
      "Epoch 3008/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0602 - acc: 0.9711 - val_loss: 0.1524 - val_acc: 0.9594\n",
      "Epoch 3009/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0609 - acc: 0.9705 - val_loss: 0.1983 - val_acc: 0.9371\n",
      "Epoch 3010/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0839 - acc: 0.9639 - val_loss: 0.1401 - val_acc: 0.9716\n",
      "Epoch 3011/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0557 - acc: 0.9787 - val_loss: 0.1491 - val_acc: 0.9635\n",
      "Epoch 3012/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0632 - acc: 0.9711 - val_loss: 0.1693 - val_acc: 0.9533\n",
      "Epoch 3013/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0598 - acc: 0.9716 - val_loss: 0.1564 - val_acc: 0.9432\n",
      "Epoch 3014/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0747 - acc: 0.9639 - val_loss: 0.1699 - val_acc: 0.9533\n",
      "Epoch 3015/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0558 - acc: 0.9731 - val_loss: 0.1437 - val_acc: 0.9635\n",
      "Epoch 3016/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0615 - acc: 0.9761 - val_loss: 0.2436 - val_acc: 0.9249\n",
      "Epoch 3017/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0725 - acc: 0.9716 - val_loss: 0.1592 - val_acc: 0.9554\n",
      "Epoch 3018/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0660 - acc: 0.9700 - val_loss: 0.3112 - val_acc: 0.9108\n",
      "Epoch 3019/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0666 - acc: 0.9721 - val_loss: 0.1411 - val_acc: 0.9655\n",
      "Epoch 3020/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0588 - acc: 0.9711 - val_loss: 0.1337 - val_acc: 0.9696\n",
      "Epoch 3021/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0641 - acc: 0.9705 - val_loss: 0.1479 - val_acc: 0.9594\n",
      "Epoch 3022/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0637 - acc: 0.9680 - val_loss: 0.1565 - val_acc: 0.9635\n",
      "Epoch 3023/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0568 - acc: 0.9746 - val_loss: 0.2063 - val_acc: 0.9351\n",
      "Epoch 3024/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0610 - acc: 0.9746 - val_loss: 0.1682 - val_acc: 0.9452\n",
      "Epoch 3025/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0552 - acc: 0.9741 - val_loss: 0.1296 - val_acc: 0.9655\n",
      "Epoch 3026/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0570 - acc: 0.9711 - val_loss: 0.1789 - val_acc: 0.9391\n",
      "Epoch 3027/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0734 - acc: 0.9705 - val_loss: 0.1822 - val_acc: 0.9493\n",
      "Epoch 3028/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0629 - acc: 0.9746 - val_loss: 0.1196 - val_acc: 0.9635\n",
      "Epoch 3029/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0645 - acc: 0.9700 - val_loss: 0.1282 - val_acc: 0.9675\n",
      "Epoch 3030/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9695 - val_loss: 0.1730 - val_acc: 0.9452\n",
      "Epoch 3031/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0672 - acc: 0.9690 - val_loss: 0.1387 - val_acc: 0.9594\n",
      "Epoch 3032/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0628 - acc: 0.9700 - val_loss: 0.1271 - val_acc: 0.9675\n",
      "Epoch 3033/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0551 - acc: 0.9766 - val_loss: 0.1530 - val_acc: 0.9635\n",
      "Epoch 3034/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0612 - acc: 0.9736 - val_loss: 0.1445 - val_acc: 0.9412\n",
      "Epoch 3035/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0568 - acc: 0.9746 - val_loss: 0.2116 - val_acc: 0.9331\n",
      "Epoch 3036/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0573 - acc: 0.9721 - val_loss: 0.1141 - val_acc: 0.9615\n",
      "Epoch 3037/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0687 - acc: 0.9624 - val_loss: 0.1239 - val_acc: 0.9696\n",
      "Epoch 3038/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0605 - acc: 0.9741 - val_loss: 0.1515 - val_acc: 0.9493\n",
      "Epoch 3039/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0659 - acc: 0.9705 - val_loss: 0.1220 - val_acc: 0.9675\n",
      "Epoch 3040/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0602 - acc: 0.9751 - val_loss: 0.1528 - val_acc: 0.9554\n",
      "Epoch 3041/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0555 - acc: 0.9777 - val_loss: 0.1267 - val_acc: 0.9716\n",
      "Epoch 3042/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9751 - val_loss: 0.2118 - val_acc: 0.9371\n",
      "Epoch 3043/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0657 - acc: 0.9690 - val_loss: 0.1529 - val_acc: 0.9554\n",
      "Epoch 3044/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0731 - acc: 0.9680 - val_loss: 0.1358 - val_acc: 0.9533\n",
      "Epoch 3045/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0603 - acc: 0.9731 - val_loss: 0.1422 - val_acc: 0.9554\n",
      "Epoch 3046/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0662 - acc: 0.9695 - val_loss: 0.1496 - val_acc: 0.9594\n",
      "Epoch 3047/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0682 - acc: 0.9655 - val_loss: 0.1514 - val_acc: 0.9594\n",
      "Epoch 3048/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0577 - acc: 0.968 - 0s - loss: 0.0567 - acc: 0.9726 - val_loss: 0.1811 - val_acc: 0.9473\n",
      "Epoch 3049/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0673 - acc: 0.9665 - val_loss: 0.1719 - val_acc: 0.9513\n",
      "Epoch 3050/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0547 - acc: 0.9751 - val_loss: 0.2201 - val_acc: 0.9351\n",
      "Epoch 3051/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0663 - acc: 0.9731 - val_loss: 0.1629 - val_acc: 0.9594\n",
      "Epoch 3052/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0607 - acc: 0.9751 - val_loss: 0.1524 - val_acc: 0.9696\n",
      "Epoch 3053/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0682 - acc: 0.9716 - val_loss: 0.1725 - val_acc: 0.9554\n",
      "Epoch 3054/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0658 - acc: 0.9695 - val_loss: 0.1841 - val_acc: 0.9533\n",
      "Epoch 3055/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0650 - acc: 0.9721 - val_loss: 0.1758 - val_acc: 0.9432\n",
      "Epoch 3056/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0627 - acc: 0.9716 - val_loss: 0.1555 - val_acc: 0.9655\n",
      "Epoch 3057/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0698 - acc: 0.9655 - val_loss: 0.1847 - val_acc: 0.9493\n",
      "Epoch 3058/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0662 - acc: 0.9716 - val_loss: 0.1436 - val_acc: 0.9615\n",
      "Epoch 3059/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0669 - acc: 0.9675 - val_loss: 0.3151 - val_acc: 0.9128\n",
      "Epoch 3060/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0681 - acc: 0.9711 - val_loss: 0.1481 - val_acc: 0.9635\n",
      "Epoch 3061/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0618 - acc: 0.9741 - val_loss: 0.2059 - val_acc: 0.9371\n",
      "Epoch 3062/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0684 - acc: 0.9685 - val_loss: 0.3328 - val_acc: 0.9209\n",
      "Epoch 3063/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0673 - acc: 0.9726 - val_loss: 0.1447 - val_acc: 0.9716\n",
      "Epoch 3064/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0547 - acc: 0.9792 - val_loss: 0.1429 - val_acc: 0.9615\n",
      "Epoch 3065/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0603 - acc: 0.9716 - val_loss: 0.1911 - val_acc: 0.9391\n",
      "Epoch 3066/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0596 - acc: 0.9695 - val_loss: 0.1721 - val_acc: 0.9452\n",
      "Epoch 3067/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0689 - acc: 0.9670 - val_loss: 0.1857 - val_acc: 0.9371\n",
      "Epoch 3068/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0648 - acc: 0.9746 - val_loss: 0.1251 - val_acc: 0.9716\n",
      "Epoch 3069/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0756 - acc: 0.9629 - val_loss: 0.1540 - val_acc: 0.9655\n",
      "Epoch 3070/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0561 - acc: 0.9746 - val_loss: 0.1612 - val_acc: 0.9655\n",
      "Epoch 3071/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0584 - acc: 0.9746 - val_loss: 0.2628 - val_acc: 0.9290\n",
      "Epoch 3072/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0669 - acc: 0.9680 - val_loss: 0.1372 - val_acc: 0.9696\n",
      "Epoch 3073/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0783 - acc: 0.9644 - val_loss: 0.1521 - val_acc: 0.9736\n",
      "Epoch 3074/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0621 - acc: 0.9705 - val_loss: 0.1726 - val_acc: 0.9493\n",
      "Epoch 3075/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0574 - acc: 0.9731 - val_loss: 0.1257 - val_acc: 0.9716\n",
      "Epoch 3076/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0546 - acc: 0.9751 - val_loss: 0.1410 - val_acc: 0.9675\n",
      "Epoch 3077/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0755 - acc: 0.9650 - val_loss: 0.1501 - val_acc: 0.9554\n",
      "Epoch 3078/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0633 - acc: 0.9716 - val_loss: 0.1325 - val_acc: 0.9716\n",
      "Epoch 3079/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0554 - acc: 0.9756 - val_loss: 0.1375 - val_acc: 0.9615\n",
      "Epoch 3080/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0757 - acc: 0.9634 - val_loss: 0.1398 - val_acc: 0.9675\n",
      "Epoch 3081/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0627 - acc: 0.9731 - val_loss: 0.2138 - val_acc: 0.9351\n",
      "Epoch 3082/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0629 - acc: 0.9711 - val_loss: 0.1664 - val_acc: 0.9473\n",
      "Epoch 3083/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0586 - acc: 0.9746 - val_loss: 0.1538 - val_acc: 0.9655\n",
      "Epoch 3084/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0642 - acc: 0.9690 - val_loss: 0.1519 - val_acc: 0.9696\n",
      "Epoch 3085/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0581 - acc: 0.9716 - val_loss: 0.1568 - val_acc: 0.9574\n",
      "Epoch 3086/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0554 - acc: 0.9751 - val_loss: 0.1772 - val_acc: 0.9493\n",
      "Epoch 3087/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0658 - acc: 0.9726 - val_loss: 0.1709 - val_acc: 0.9533\n",
      "Epoch 3088/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0680 - acc: 0.9644 - val_loss: 0.1455 - val_acc: 0.9716\n",
      "Epoch 3089/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0270 - acc: 1.000 - 0s - loss: 0.0650 - acc: 0.9721 - val_loss: 0.1591 - val_acc: 0.9635\n",
      "Epoch 3090/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0641 - acc: 0.9746 - val_loss: 0.3222 - val_acc: 0.9229\n",
      "Epoch 3091/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0687 - acc: 0.9705 - val_loss: 0.1575 - val_acc: 0.9757\n",
      "Epoch 3092/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0567 - acc: 0.9777 - val_loss: 0.1693 - val_acc: 0.9554\n",
      "Epoch 3093/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0576 - acc: 0.9736 - val_loss: 0.1303 - val_acc: 0.9696\n",
      "Epoch 3094/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0585 - acc: 0.9716 - val_loss: 0.1400 - val_acc: 0.9716\n",
      "Epoch 3095/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1019 - acc: 0.960 - 0s - loss: 0.0659 - acc: 0.9660 - val_loss: 0.1627 - val_acc: 0.9635\n",
      "Epoch 3096/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0720 - acc: 0.9639 - val_loss: 0.1658 - val_acc: 0.9452\n",
      "Epoch 3097/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0661 - acc: 0.9695 - val_loss: 0.1536 - val_acc: 0.9513\n",
      "Epoch 3098/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0763 - acc: 0.9660 - val_loss: 0.1159 - val_acc: 0.9757\n",
      "Epoch 3099/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0555 - acc: 0.9777 - val_loss: 0.1788 - val_acc: 0.9432\n",
      "Epoch 3100/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0589 - acc: 0.9751 - val_loss: 0.1238 - val_acc: 0.9716\n",
      "Epoch 3101/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0628 - acc: 0.9726 - val_loss: 0.1294 - val_acc: 0.9615\n",
      "Epoch 3102/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0669 - acc: 0.9680 - val_loss: 0.1323 - val_acc: 0.9533\n",
      "Epoch 3103/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0632 - acc: 0.9700 - val_loss: 0.2330 - val_acc: 0.9249\n",
      "Epoch 3104/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0705 - acc: 0.9680 - val_loss: 0.1230 - val_acc: 0.9655\n",
      "Epoch 3105/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0621 - acc: 0.9716 - val_loss: 0.1331 - val_acc: 0.9635\n",
      "Epoch 3106/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0677 - acc: 0.9650 - val_loss: 0.2283 - val_acc: 0.9371\n",
      "Epoch 3107/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0628 - acc: 0.9716 - val_loss: 0.1584 - val_acc: 0.9615\n",
      "Epoch 3108/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0567 - acc: 0.9756 - val_loss: 0.1572 - val_acc: 0.9594\n",
      "Epoch 3109/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0660 - acc: 0.9695 - val_loss: 0.1616 - val_acc: 0.9554\n",
      "Epoch 3110/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0566 - acc: 0.9746 - val_loss: 0.1370 - val_acc: 0.9675\n",
      "Epoch 3111/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0637 - acc: 0.9741 - val_loss: 0.1893 - val_acc: 0.9412\n",
      "Epoch 3112/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0616 - acc: 0.9685 - val_loss: 0.1906 - val_acc: 0.9432\n",
      "Epoch 3113/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0623 - acc: 0.9731 - val_loss: 0.1382 - val_acc: 0.9675\n",
      "Epoch 3114/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0678 - acc: 0.9695 - val_loss: 0.1723 - val_acc: 0.9615\n",
      "Epoch 3115/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0579 - acc: 0.9731 - val_loss: 0.1986 - val_acc: 0.9473\n",
      "Epoch 3116/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0651 - acc: 0.9736 - val_loss: 0.1799 - val_acc: 0.9452\n",
      "Epoch 3117/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0570 - acc: 0.9771 - val_loss: 0.1473 - val_acc: 0.9675\n",
      "Epoch 3118/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0571 - acc: 0.9741 - val_loss: 0.1249 - val_acc: 0.9716\n",
      "Epoch 3119/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0594 - acc: 0.9721 - val_loss: 0.1696 - val_acc: 0.9554\n",
      "Epoch 3120/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0618 - acc: 0.9721 - val_loss: 0.2092 - val_acc: 0.9391\n",
      "Epoch 3121/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0648 - acc: 0.9665 - val_loss: 0.2156 - val_acc: 0.9351\n",
      "Epoch 3122/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0668 - acc: 0.9660 - val_loss: 0.1885 - val_acc: 0.9473\n",
      "Epoch 3123/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0762 - acc: 0.9644 - val_loss: 0.1570 - val_acc: 0.9736\n",
      "Epoch 3124/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0580 - acc: 0.9751 - val_loss: 0.1505 - val_acc: 0.9615\n",
      "Epoch 3125/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0595 - acc: 0.9736 - val_loss: 0.2114 - val_acc: 0.9391\n",
      "Epoch 3126/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0656 - acc: 0.9711 - val_loss: 0.2377 - val_acc: 0.9270\n",
      "Epoch 3127/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0672 - acc: 0.9690 - val_loss: 0.1666 - val_acc: 0.9513\n",
      "Epoch 3128/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0623 - acc: 0.9716 - val_loss: 0.1465 - val_acc: 0.9675\n",
      "Epoch 3129/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0520 - acc: 0.9787 - val_loss: 0.1280 - val_acc: 0.9675\n",
      "Epoch 3130/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0520 - acc: 0.9751 - val_loss: 0.1541 - val_acc: 0.9473\n",
      "Epoch 3131/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0511 - acc: 0.9802 - val_loss: 0.1265 - val_acc: 0.9675\n",
      "Epoch 3132/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0714 - acc: 0.9670 - val_loss: 0.2094 - val_acc: 0.9371\n",
      "Epoch 3133/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0614 - acc: 0.9731 - val_loss: 0.1490 - val_acc: 0.9594\n",
      "Epoch 3134/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0612 - acc: 0.9705 - val_loss: 0.1757 - val_acc: 0.9371\n",
      "Epoch 3135/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0755 - acc: 0.9629 - val_loss: 0.1413 - val_acc: 0.9574\n",
      "Epoch 3136/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0610 - acc: 0.9761 - val_loss: 0.1351 - val_acc: 0.9615\n",
      "Epoch 3137/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0550 - acc: 0.9771 - val_loss: 0.1418 - val_acc: 0.9655\n",
      "Epoch 3138/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0650 - acc: 0.9700 - val_loss: 0.2290 - val_acc: 0.9371\n",
      "Epoch 3139/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0617 - acc: 0.9731 - val_loss: 0.1855 - val_acc: 0.9473\n",
      "Epoch 3140/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0532 - acc: 0.9782 - val_loss: 0.2002 - val_acc: 0.9371\n",
      "Epoch 3141/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0681 - acc: 0.9695 - val_loss: 0.1211 - val_acc: 0.9696\n",
      "Epoch 3142/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0614 - acc: 0.9721 - val_loss: 0.1269 - val_acc: 0.9675\n",
      "Epoch 3143/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0613 - acc: 0.9705 - val_loss: 0.1496 - val_acc: 0.9615\n",
      "Epoch 3144/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9670 - val_loss: 0.1394 - val_acc: 0.9574\n",
      "Epoch 3145/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0565 - acc: 0.9695 - val_loss: 0.1094 - val_acc: 0.9716\n",
      "Epoch 3146/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0576 - acc: 0.9771 - val_loss: 0.2554 - val_acc: 0.9229\n",
      "Epoch 3147/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0737 - acc: 0.9644 - val_loss: 0.1365 - val_acc: 0.9594\n",
      "Epoch 3148/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0674 - acc: 0.9675 - val_loss: 0.1285 - val_acc: 0.9655\n",
      "Epoch 3149/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0574 - acc: 0.9721 - val_loss: 0.1312 - val_acc: 0.9696\n",
      "Epoch 3150/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0653 - acc: 0.9711 - val_loss: 0.1855 - val_acc: 0.9432\n",
      "Epoch 3151/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0632 - acc: 0.9721 - val_loss: 0.1739 - val_acc: 0.9493\n",
      "Epoch 3152/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0679 - acc: 0.9665 - val_loss: 0.2274 - val_acc: 0.9391\n",
      "Epoch 3153/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0701 - acc: 0.9700 - val_loss: 0.1451 - val_acc: 0.9757\n",
      "Epoch 3154/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0586 - acc: 0.9726 - val_loss: 0.1353 - val_acc: 0.9655\n",
      "Epoch 3155/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0571 - acc: 0.9782 - val_loss: 0.1354 - val_acc: 0.9696\n",
      "Epoch 3156/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0556 - acc: 0.9766 - val_loss: 0.1962 - val_acc: 0.9432\n",
      "Epoch 3157/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0480 - acc: 0.976 - 0s - loss: 0.0643 - acc: 0.9690 - val_loss: 0.3145 - val_acc: 0.9290\n",
      "Epoch 3158/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0634 - acc: 0.9746 - val_loss: 0.1549 - val_acc: 0.9574\n",
      "Epoch 3159/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0614 - acc: 0.9736 - val_loss: 0.1606 - val_acc: 0.9493\n",
      "Epoch 3160/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0699 - acc: 0.9695 - val_loss: 0.1531 - val_acc: 0.9615\n",
      "Epoch 3161/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0612 - acc: 0.9726 - val_loss: 0.1331 - val_acc: 0.9757\n",
      "Epoch 3162/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0688 - acc: 0.9655 - val_loss: 0.1473 - val_acc: 0.9655\n",
      "Epoch 3163/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0579 - acc: 0.9741 - val_loss: 0.1427 - val_acc: 0.9615\n",
      "Epoch 3164/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0603 - acc: 0.9741 - val_loss: 0.1864 - val_acc: 0.9452\n",
      "Epoch 3165/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0580 - acc: 0.9746 - val_loss: 0.1310 - val_acc: 0.9635\n",
      "Epoch 3166/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0645 - acc: 0.9716 - val_loss: 0.2128 - val_acc: 0.9351\n",
      "Epoch 3167/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0524 - acc: 0.9807 - val_loss: 0.1355 - val_acc: 0.9716\n",
      "Epoch 3168/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0532 - acc: 0.9802 - val_loss: 0.1352 - val_acc: 0.9635\n",
      "Epoch 3169/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0621 - acc: 0.9685 - val_loss: 0.2121 - val_acc: 0.9473\n",
      "Epoch 3170/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0724 - acc: 0.9660 - val_loss: 0.1559 - val_acc: 0.9635\n",
      "Epoch 3171/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0565 - acc: 0.9741 - val_loss: 0.1326 - val_acc: 0.9675\n",
      "Epoch 3172/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0567 - acc: 0.9705 - val_loss: 0.1614 - val_acc: 0.9533\n",
      "Epoch 3173/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0662 - acc: 0.9731 - val_loss: 0.1510 - val_acc: 0.9635\n",
      "Epoch 3174/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0619 - acc: 0.9726 - val_loss: 0.1640 - val_acc: 0.9574\n",
      "Epoch 3175/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0746 - acc: 0.9660 - val_loss: 0.1514 - val_acc: 0.9554\n",
      "Epoch 3176/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0592 - acc: 0.9766 - val_loss: 0.1705 - val_acc: 0.9493\n",
      "Epoch 3177/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0536 - acc: 0.9787 - val_loss: 0.1786 - val_acc: 0.9554\n",
      "Epoch 3178/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0668 - acc: 0.9711 - val_loss: 0.2218 - val_acc: 0.9371\n",
      "Epoch 3179/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0637 - acc: 0.9700 - val_loss: 0.1830 - val_acc: 0.9513\n",
      "Epoch 3180/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0698 - acc: 0.9670 - val_loss: 0.1673 - val_acc: 0.9615\n",
      "Epoch 3181/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0740 - acc: 0.9644 - val_loss: 0.1901 - val_acc: 0.9371\n",
      "Epoch 3182/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0578 - acc: 0.9721 - val_loss: 0.1680 - val_acc: 0.9574\n",
      "Epoch 3183/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0732 - acc: 0.9634 - val_loss: 0.1861 - val_acc: 0.9473\n",
      "Epoch 3184/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0555 - acc: 0.976 - 0s - loss: 0.0537 - acc: 0.9771 - val_loss: 0.1738 - val_acc: 0.9493\n",
      "Epoch 3185/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0573 - acc: 0.9711 - val_loss: 0.1553 - val_acc: 0.9635\n",
      "Epoch 3186/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0555 - acc: 0.9726 - val_loss: 0.1991 - val_acc: 0.9432\n",
      "Epoch 3187/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0714 - acc: 0.9700 - val_loss: 0.2218 - val_acc: 0.9331\n",
      "Epoch 3188/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0579 - acc: 0.9741 - val_loss: 0.1518 - val_acc: 0.9696\n",
      "Epoch 3189/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0497 - acc: 0.9777 - val_loss: 0.1417 - val_acc: 0.9736\n",
      "Epoch 3190/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0509 - acc: 0.9782 - val_loss: 0.1577 - val_acc: 0.9615\n",
      "Epoch 3191/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9716 - val_loss: 0.1668 - val_acc: 0.9513\n",
      "Epoch 3192/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0666 - acc: 0.9680 - val_loss: 0.2542 - val_acc: 0.9290\n",
      "Epoch 3193/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0581 - acc: 0.9766 - val_loss: 0.1431 - val_acc: 0.9675\n",
      "Epoch 3194/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0599 - acc: 0.9731 - val_loss: 0.1541 - val_acc: 0.9675\n",
      "Epoch 3195/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0614 - acc: 0.9711 - val_loss: 0.1897 - val_acc: 0.9513\n",
      "Epoch 3196/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0634 - acc: 0.9726 - val_loss: 0.1536 - val_acc: 0.9716\n",
      "Epoch 3197/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0586 - acc: 0.9716 - val_loss: 0.1820 - val_acc: 0.9452\n",
      "Epoch 3198/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0549 - acc: 0.9777 - val_loss: 0.1567 - val_acc: 0.9615\n",
      "Epoch 3199/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0594 - acc: 0.9751 - val_loss: 0.1510 - val_acc: 0.9635\n",
      "Epoch 3200/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0586 - acc: 0.9721 - val_loss: 0.1358 - val_acc: 0.9757\n",
      "Epoch 3201/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0496 - acc: 0.9766 - val_loss: 0.2733 - val_acc: 0.9209\n",
      "Epoch 3202/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0691 - acc: 0.9700 - val_loss: 0.1528 - val_acc: 0.9675\n",
      "Epoch 3203/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0563 - acc: 0.9771 - val_loss: 0.1987 - val_acc: 0.9412\n",
      "Epoch 3204/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0648 - acc: 0.9716 - val_loss: 0.1811 - val_acc: 0.9533\n",
      "Epoch 3205/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0488 - acc: 0.9797 - val_loss: 0.1940 - val_acc: 0.9493\n",
      "Epoch 3206/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0568 - acc: 0.9756 - val_loss: 0.2245 - val_acc: 0.9391\n",
      "Epoch 3207/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0599 - acc: 0.9736 - val_loss: 0.2253 - val_acc: 0.9432\n",
      "Epoch 3208/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0676 - acc: 0.9726 - val_loss: 0.1844 - val_acc: 0.9432\n",
      "Epoch 3209/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0578 - acc: 0.9766 - val_loss: 0.1562 - val_acc: 0.9696\n",
      "Epoch 3210/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0550 - acc: 0.9721 - val_loss: 0.1520 - val_acc: 0.9635\n",
      "Epoch 3211/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0484 - acc: 0.9787 - val_loss: 0.1482 - val_acc: 0.9615\n",
      "Epoch 3212/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0620 - acc: 0.9705 - val_loss: 0.1598 - val_acc: 0.9635\n",
      "Epoch 3213/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0551 - acc: 0.9766 - val_loss: 0.1431 - val_acc: 0.9675\n",
      "Epoch 3214/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0588 - acc: 0.9726 - val_loss: 0.1792 - val_acc: 0.9513\n",
      "Epoch 3215/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0481 - acc: 0.9817 - val_loss: 0.1884 - val_acc: 0.9432\n",
      "Epoch 3216/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0607 - acc: 0.9741 - val_loss: 0.1783 - val_acc: 0.9513\n",
      "Epoch 3217/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0544 - acc: 0.9792 - val_loss: 0.1471 - val_acc: 0.9736\n",
      "Epoch 3218/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0639 - acc: 0.9711 - val_loss: 0.1450 - val_acc: 0.9635\n",
      "Epoch 3219/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0537 - acc: 0.9751 - val_loss: 0.2122 - val_acc: 0.9391\n",
      "Epoch 3220/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0777 - acc: 0.9655 - val_loss: 0.1824 - val_acc: 0.9493\n",
      "Epoch 3221/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0559 - acc: 0.9746 - val_loss: 0.1799 - val_acc: 0.9493\n",
      "Epoch 3222/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0517 - acc: 0.9817 - val_loss: 0.1831 - val_acc: 0.9452\n",
      "Epoch 3223/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0525 - acc: 0.9802 - val_loss: 0.1482 - val_acc: 0.9655\n",
      "Epoch 3224/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0582 - acc: 0.9741 - val_loss: 0.1709 - val_acc: 0.9655\n",
      "Epoch 3225/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0547 - acc: 0.9792 - val_loss: 0.1501 - val_acc: 0.9675\n",
      "Epoch 3226/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0591 - acc: 0.9721 - val_loss: 0.1612 - val_acc: 0.9615\n",
      "Epoch 3227/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0626 - acc: 0.9685 - val_loss: 0.1803 - val_acc: 0.9513\n",
      "Epoch 3228/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0615 - acc: 0.9756 - val_loss: 0.1922 - val_acc: 0.9473\n",
      "Epoch 3229/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0723 - acc: 0.9705 - val_loss: 0.1888 - val_acc: 0.9594\n",
      "Epoch 3230/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0722 - acc: 0.968 - 0s - loss: 0.0552 - acc: 0.9746 - val_loss: 0.1791 - val_acc: 0.9594\n",
      "Epoch 3231/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0620 - acc: 0.9716 - val_loss: 0.1679 - val_acc: 0.9716\n",
      "Epoch 3232/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0639 - acc: 0.9695 - val_loss: 0.1783 - val_acc: 0.9533\n",
      "Epoch 3233/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0661 - acc: 0.9695 - val_loss: 0.2366 - val_acc: 0.9371\n",
      "Epoch 3234/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0642 - acc: 0.9751 - val_loss: 0.2069 - val_acc: 0.9371\n",
      "Epoch 3235/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0729 - acc: 0.9665 - val_loss: 0.1476 - val_acc: 0.9757\n",
      "Epoch 3236/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0632 - acc: 0.9741 - val_loss: 0.2076 - val_acc: 0.9371\n",
      "Epoch 3237/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0558 - acc: 0.9766 - val_loss: 0.1879 - val_acc: 0.9452\n",
      "Epoch 3238/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0535 - acc: 0.9736 - val_loss: 0.1510 - val_acc: 0.9655\n",
      "Epoch 3239/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0552 - acc: 0.9746 - val_loss: 0.1615 - val_acc: 0.9675\n",
      "Epoch 3240/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0579 - acc: 0.9731 - val_loss: 0.1744 - val_acc: 0.9594\n",
      "Epoch 3241/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0608 - acc: 0.9721 - val_loss: 0.1595 - val_acc: 0.9635\n",
      "Epoch 3242/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0650 - acc: 0.9711 - val_loss: 0.1832 - val_acc: 0.9574\n",
      "Epoch 3243/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0689 - acc: 0.9660 - val_loss: 0.1081 - val_acc: 0.9615\n",
      "Epoch 3244/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0542 - acc: 0.9731 - val_loss: 0.1732 - val_acc: 0.9574\n",
      "Epoch 3245/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0560 - acc: 0.9705 - val_loss: 0.1564 - val_acc: 0.9554\n",
      "Epoch 3246/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0566 - acc: 0.9700 - val_loss: 0.2878 - val_acc: 0.9270\n",
      "Epoch 3247/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0634 - acc: 0.9756 - val_loss: 0.1330 - val_acc: 0.9696\n",
      "Epoch 3248/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0546 - acc: 0.9761 - val_loss: 0.1573 - val_acc: 0.9533\n",
      "Epoch 3249/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0493 - acc: 0.9787 - val_loss: 0.1542 - val_acc: 0.9594\n",
      "Epoch 3250/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0569 - acc: 0.9766 - val_loss: 0.2031 - val_acc: 0.9351\n",
      "Epoch 3251/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0571 - acc: 0.9746 - val_loss: 0.1384 - val_acc: 0.9696\n",
      "Epoch 3252/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0671 - acc: 0.9670 - val_loss: 0.1363 - val_acc: 0.9655\n",
      "Epoch 3253/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0648 - acc: 0.9695 - val_loss: 0.1636 - val_acc: 0.9473\n",
      "Epoch 3254/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0555 - acc: 0.9751 - val_loss: 0.1170 - val_acc: 0.9757\n",
      "Epoch 3255/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0562 - acc: 0.9721 - val_loss: 0.1467 - val_acc: 0.9493\n",
      "Epoch 3256/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0533 - acc: 0.9731 - val_loss: 0.1552 - val_acc: 0.9615\n",
      "Epoch 3257/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0609 - acc: 0.9746 - val_loss: 0.1287 - val_acc: 0.9696\n",
      "Epoch 3258/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0608 - acc: 0.9711 - val_loss: 0.1391 - val_acc: 0.9594\n",
      "Epoch 3259/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0512 - acc: 0.9797 - val_loss: 0.1860 - val_acc: 0.9412\n",
      "Epoch 3260/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0570 - acc: 0.9756 - val_loss: 0.2068 - val_acc: 0.9371\n",
      "Epoch 3261/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0764 - acc: 0.9624 - val_loss: 0.3058 - val_acc: 0.9229\n",
      "Epoch 3262/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0646 - acc: 0.9721 - val_loss: 0.1580 - val_acc: 0.9675\n",
      "Epoch 3263/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0674 - acc: 0.9670 - val_loss: 0.1545 - val_acc: 0.9675\n",
      "Epoch 3264/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0608 - acc: 0.9716 - val_loss: 0.1428 - val_acc: 0.9655\n",
      "Epoch 3265/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0492 - acc: 0.9822 - val_loss: 0.1553 - val_acc: 0.9574\n",
      "Epoch 3266/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0568 - acc: 0.9766 - val_loss: 0.1325 - val_acc: 0.9675\n",
      "Epoch 3267/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0608 - acc: 0.9731 - val_loss: 0.1880 - val_acc: 0.9432\n",
      "Epoch 3268/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0517 - acc: 0.9822 - val_loss: 0.1608 - val_acc: 0.9513\n",
      "Epoch 3269/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0575 - acc: 0.9746 - val_loss: 0.1243 - val_acc: 0.96960.970\n",
      "Epoch 3270/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0537 - acc: 0.9746 - val_loss: 0.1700 - val_acc: 0.9473\n",
      "Epoch 3271/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0642 - acc: 0.9711 - val_loss: 0.1240 - val_acc: 0.9696\n",
      "Epoch 3272/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0606 - acc: 0.9731 - val_loss: 0.2378 - val_acc: 0.9270\n",
      "Epoch 3273/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0534 - acc: 0.9802 - val_loss: 0.1750 - val_acc: 0.9513\n",
      "Epoch 3274/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0547 - acc: 0.9771 - val_loss: 0.1227 - val_acc: 0.9757\n",
      "Epoch 3275/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0544 - acc: 0.9741 - val_loss: 0.1344 - val_acc: 0.9675\n",
      "Epoch 3276/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0494 - acc: 0.9807 - val_loss: 0.1363 - val_acc: 0.9615\n",
      "Epoch 3277/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0679 - acc: 0.9695 - val_loss: 0.1359 - val_acc: 0.9696\n",
      "Epoch 3278/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0621 - acc: 0.9736 - val_loss: 0.1375 - val_acc: 0.9635\n",
      "Epoch 3279/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0594 - acc: 0.9731 - val_loss: 0.1506 - val_acc: 0.9635\n",
      "Epoch 3280/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0499 - acc: 0.9817 - val_loss: 0.1544 - val_acc: 0.9533\n",
      "Epoch 3281/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0571 - acc: 0.9721 - val_loss: 0.1353 - val_acc: 0.9716\n",
      "Epoch 3282/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0622 - acc: 0.9711 - val_loss: 0.1595 - val_acc: 0.9513\n",
      "Epoch 3283/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0594 - acc: 0.9746 - val_loss: 0.1284 - val_acc: 0.9757\n",
      "Epoch 3284/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0666 - acc: 0.9685 - val_loss: 0.1610 - val_acc: 0.9533\n",
      "Epoch 3285/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0668 - acc: 0.9675 - val_loss: 0.1388 - val_acc: 0.9757\n",
      "Epoch 3286/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0484 - acc: 0.9782 - val_loss: 0.1441 - val_acc: 0.9716\n",
      "Epoch 3287/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0671 - acc: 0.9695 - val_loss: 0.1421 - val_acc: 0.9594\n",
      "Epoch 3288/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0538 - acc: 0.9766 - val_loss: 0.1744 - val_acc: 0.9473\n",
      "Epoch 3289/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0665 - acc: 0.9650 - val_loss: 0.1516 - val_acc: 0.9594\n",
      "Epoch 3290/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0580 - acc: 0.9756 - val_loss: 0.1497 - val_acc: 0.9696\n",
      "Epoch 3291/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0655 - acc: 0.9655 - val_loss: 0.1663 - val_acc: 0.9574\n",
      "Epoch 3292/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0507 - acc: 0.9761 - val_loss: 0.1624 - val_acc: 0.9533\n",
      "Epoch 3293/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0696 - acc: 0.9680 - val_loss: 0.1540 - val_acc: 0.9594\n",
      "Epoch 3294/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0728 - acc: 0.960 - 0s - loss: 0.0594 - acc: 0.9716 - val_loss: 0.1812 - val_acc: 0.9412\n",
      "Epoch 3295/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0567 - acc: 0.9751 - val_loss: 0.2325 - val_acc: 0.9310\n",
      "Epoch 3296/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0569 - acc: 0.9761 - val_loss: 0.1404 - val_acc: 0.9696\n",
      "Epoch 3297/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0582 - acc: 0.9782 - val_loss: 0.1412 - val_acc: 0.9757\n",
      "Epoch 3298/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0574 - acc: 0.9751 - val_loss: 0.1478 - val_acc: 0.9757\n",
      "Epoch 3299/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0482 - acc: 0.9802 - val_loss: 0.1843 - val_acc: 0.9452\n",
      "Epoch 3300/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0709 - acc: 0.9685 - val_loss: 0.2278 - val_acc: 0.9432\n",
      "Epoch 3301/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0575 - acc: 0.9716 - val_loss: 0.2315 - val_acc: 0.9331\n",
      "Epoch 3302/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0581 - acc: 0.9726 - val_loss: 0.1475 - val_acc: 0.9757\n",
      "Epoch 3303/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0578 - acc: 0.9726 - val_loss: 0.2783 - val_acc: 0.9209\n",
      "Epoch 3304/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0811 - acc: 0.9634 - val_loss: 0.1656 - val_acc: 0.9554\n",
      "Epoch 3305/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0519 - acc: 0.9782 - val_loss: 0.1410 - val_acc: 0.9716\n",
      "Epoch 3306/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0537 - acc: 0.9792 - val_loss: 0.1546 - val_acc: 0.9696\n",
      "Epoch 3307/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0555 - acc: 0.9751 - val_loss: 0.1658 - val_acc: 0.9615\n",
      "Epoch 3308/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0514 - acc: 0.9766 - val_loss: 0.1542 - val_acc: 0.9675\n",
      "Epoch 3309/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0698 - acc: 0.9716 - val_loss: 0.1877 - val_acc: 0.9473\n",
      "Epoch 3310/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0564 - acc: 0.9746 - val_loss: 0.2132 - val_acc: 0.9452\n",
      "Epoch 3311/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0523 - acc: 0.9802 - val_loss: 0.1678 - val_acc: 0.9473\n",
      "Epoch 3312/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0496 - acc: 0.9797 - val_loss: 0.1369 - val_acc: 0.9757\n",
      "Epoch 3313/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0552 - acc: 0.9751 - val_loss: 0.1663 - val_acc: 0.9574\n",
      "Epoch 3314/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0549 - acc: 0.9746 - val_loss: 0.1438 - val_acc: 0.9635\n",
      "Epoch 3315/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0515 - acc: 0.9777 - val_loss: 0.1701 - val_acc: 0.9594\n",
      "Epoch 3316/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0677 - acc: 0.9700 - val_loss: 0.2428 - val_acc: 0.9432\n",
      "Epoch 3317/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0705 - acc: 0.9644 - val_loss: 0.2392 - val_acc: 0.9270\n",
      "Epoch 3318/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0690 - acc: 0.9680 - val_loss: 0.1829 - val_acc: 0.9533\n",
      "Epoch 3319/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0584 - acc: 0.9736 - val_loss: 0.1636 - val_acc: 0.9716\n",
      "Epoch 3320/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0447 - acc: 0.9837 - val_loss: 0.2090 - val_acc: 0.9473\n",
      "Epoch 3321/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0635 - acc: 0.9680 - val_loss: 0.1621 - val_acc: 0.9696\n",
      "Epoch 3322/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0528 - acc: 0.9771 - val_loss: 0.1691 - val_acc: 0.9554\n",
      "Epoch 3323/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0531 - acc: 0.9777 - val_loss: 0.1603 - val_acc: 0.9635\n",
      "Epoch 3324/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0694 - acc: 0.9675 - val_loss: 0.1521 - val_acc: 0.9736\n",
      "Epoch 3325/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0537 - acc: 0.9746 - val_loss: 0.1538 - val_acc: 0.9615\n",
      "Epoch 3326/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0578 - acc: 0.9756 - val_loss: 0.1477 - val_acc: 0.9675\n",
      "Epoch 3327/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0576 - acc: 0.9751 - val_loss: 0.1449 - val_acc: 0.9777\n",
      "Epoch 3328/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0498 - acc: 0.9792 - val_loss: 0.1699 - val_acc: 0.9432\n",
      "Epoch 3329/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0563 - acc: 0.9751 - val_loss: 0.2410 - val_acc: 0.9351\n",
      "Epoch 3330/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0560 - acc: 0.9777 - val_loss: 0.1491 - val_acc: 0.9777\n",
      "Epoch 3331/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0473 - acc: 0.9827 - val_loss: 0.1389 - val_acc: 0.9777\n",
      "Epoch 3332/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0539 - acc: 0.9777 - val_loss: 0.1659 - val_acc: 0.9635\n",
      "Epoch 3333/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0541 - acc: 0.9756 - val_loss: 0.1325 - val_acc: 0.9696\n",
      "Epoch 3334/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0639 - acc: 0.9705 - val_loss: 0.1882 - val_acc: 0.9473\n",
      "Epoch 3335/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0706 - acc: 0.9685 - val_loss: 0.1446 - val_acc: 0.9675\n",
      "Epoch 3336/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0632 - acc: 0.9660 - val_loss: 0.1751 - val_acc: 0.9513\n",
      "Epoch 3337/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0494 - acc: 0.9761 - val_loss: 0.2186 - val_acc: 0.9391\n",
      "Epoch 3338/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0587 - acc: 0.9751 - val_loss: 0.2135 - val_acc: 0.9452\n",
      "Epoch 3339/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0485 - acc: 0.9812 - val_loss: 0.1706 - val_acc: 0.9635\n",
      "Epoch 3340/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0593 - acc: 0.9721 - val_loss: 0.1518 - val_acc: 0.9696\n",
      "Epoch 3341/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0541 - acc: 0.9797 - val_loss: 0.1809 - val_acc: 0.9554\n",
      "Epoch 3342/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0474 - acc: 0.9797 - val_loss: 0.1724 - val_acc: 0.9554\n",
      "Epoch 3343/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0467 - acc: 0.9807 - val_loss: 0.1723 - val_acc: 0.9675\n",
      "Epoch 3344/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0531 - acc: 0.9802 - val_loss: 0.3326 - val_acc: 0.9148\n",
      "Epoch 3345/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0609 - acc: 0.9736 - val_loss: 0.1575 - val_acc: 0.9675\n",
      "Epoch 3346/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0446 - acc: 0.9853 - val_loss: 0.1465 - val_acc: 0.9736\n",
      "Epoch 3347/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0553 - acc: 0.9746 - val_loss: 0.1561 - val_acc: 0.9716\n",
      "Epoch 3348/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0582 - acc: 0.9700 - val_loss: 0.1573 - val_acc: 0.9716\n",
      "Epoch 3349/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0558 - acc: 0.9731 - val_loss: 0.1668 - val_acc: 0.9696\n",
      "Epoch 3350/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0699 - acc: 0.9685 - val_loss: 0.1526 - val_acc: 0.9757\n",
      "Epoch 3351/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0515 - acc: 0.9802 - val_loss: 0.2411 - val_acc: 0.9432\n",
      "Epoch 3352/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0592 - acc: 0.9711 - val_loss: 0.1546 - val_acc: 0.9736\n",
      "Epoch 3353/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0467 - acc: 0.9797 - val_loss: 0.1768 - val_acc: 0.9554\n",
      "Epoch 3354/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0543 - acc: 0.9751 - val_loss: 0.2366 - val_acc: 0.9452\n",
      "Epoch 3355/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0575 - acc: 0.9751 - val_loss: 0.1746 - val_acc: 0.9533\n",
      "Epoch 3356/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0639 - acc: 0.9716 - val_loss: 0.2499 - val_acc: 0.9513\n",
      "Epoch 3357/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.2856 - acc: 0.914 - 0s - loss: 0.0590 - acc: 0.9802 - val_loss: 0.1574 - val_acc: 0.9716\n",
      "Epoch 3358/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0443 - acc: 0.9822 - val_loss: 0.1586 - val_acc: 0.9716\n",
      "Epoch 3359/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0655 - acc: 0.9716 - val_loss: 0.1649 - val_acc: 0.9675\n",
      "Epoch 3360/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0439 - acc: 0.9827 - val_loss: 0.1540 - val_acc: 0.9757\n",
      "Epoch 3361/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0560 - acc: 0.9746 - val_loss: 0.1636 - val_acc: 0.9696\n",
      "Epoch 3362/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0569 - acc: 0.9792 - val_loss: 0.1701 - val_acc: 0.9696\n",
      "Epoch 3363/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0459 - acc: 0.9797 - val_loss: 0.1634 - val_acc: 0.9594\n",
      "Epoch 3364/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0614 - acc: 0.9685 - val_loss: 0.1552 - val_acc: 0.9716\n",
      "Epoch 3365/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0439 - acc: 0.9817 - val_loss: 0.1528 - val_acc: 0.9716\n",
      "Epoch 3366/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0465 - acc: 0.9807 - val_loss: 0.1459 - val_acc: 0.9736\n",
      "Epoch 3367/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0534 - acc: 0.9777 - val_loss: 0.2392 - val_acc: 0.9331\n",
      "Epoch 3368/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0645 - acc: 0.9670 - val_loss: 0.1655 - val_acc: 0.9554\n",
      "Epoch 3369/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9761 - val_loss: 0.2544 - val_acc: 0.9412\n",
      "Epoch 3370/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0587 - acc: 0.9736 - val_loss: 0.1908 - val_acc: 0.9513\n",
      "Epoch 3371/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0514 - acc: 0.9771 - val_loss: 0.1891 - val_acc: 0.9452\n",
      "Epoch 3372/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0581 - acc: 0.9705 - val_loss: 0.2033 - val_acc: 0.9432\n",
      "Epoch 3373/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0586 - acc: 0.9721 - val_loss: 0.1418 - val_acc: 0.9716\n",
      "Epoch 3374/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0607 - acc: 0.9695 - val_loss: 0.1519 - val_acc: 0.9716\n",
      "Epoch 3375/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0525 - acc: 0.9766 - val_loss: 0.1607 - val_acc: 0.9655\n",
      "Epoch 3376/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0502 - acc: 0.9787 - val_loss: 0.1597 - val_acc: 0.9716\n",
      "Epoch 3377/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0475 - acc: 0.9812 - val_loss: 0.1819 - val_acc: 0.9574\n",
      "Epoch 3378/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0495 - acc: 0.9802 - val_loss: 0.1590 - val_acc: 0.9635\n",
      "Epoch 3379/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0512 - acc: 0.9766 - val_loss: 0.2155 - val_acc: 0.9473\n",
      "Epoch 3380/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0778 - acc: 0.9660 - val_loss: 0.1905 - val_acc: 0.9533\n",
      "Epoch 3381/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0690 - acc: 0.9721 - val_loss: 0.1531 - val_acc: 0.9716\n",
      "Epoch 3382/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0454 - acc: 0.9802 - val_loss: 0.1442 - val_acc: 0.9777\n",
      "Epoch 3383/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0550 - acc: 0.9751 - val_loss: 0.1486 - val_acc: 0.9736\n",
      "Epoch 3384/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0509 - acc: 0.9771 - val_loss: 0.1685 - val_acc: 0.9615\n",
      "Epoch 3385/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0509 - acc: 0.9792 - val_loss: 0.1853 - val_acc: 0.9513\n",
      "Epoch 3386/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0636 - acc: 0.9741 - val_loss: 0.2439 - val_acc: 0.9452\n",
      "Epoch 3387/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0712 - acc: 0.9716 - val_loss: 0.1595 - val_acc: 0.9655\n",
      "Epoch 3388/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0501 - acc: 0.9751 - val_loss: 0.1539 - val_acc: 0.9757\n",
      "Epoch 3389/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0448 - acc: 0.9822 - val_loss: 0.1734 - val_acc: 0.9615\n",
      "Epoch 3390/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0458 - acc: 0.9817 - val_loss: 0.1489 - val_acc: 0.9696\n",
      "Epoch 3391/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0414 - acc: 0.9853 - val_loss: 0.2176 - val_acc: 0.9412\n",
      "Epoch 3392/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0587 - acc: 0.9736 - val_loss: 0.1859 - val_acc: 0.9513\n",
      "Epoch 3393/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0442 - acc: 0.9822 - val_loss: 0.1776 - val_acc: 0.9615\n",
      "Epoch 3394/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0587 - acc: 0.9726 - val_loss: 0.2004 - val_acc: 0.9493\n",
      "Epoch 3395/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9700 - val_loss: 0.1887 - val_acc: 0.9513\n",
      "Epoch 3396/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0558 - acc: 0.9731 - val_loss: 0.1530 - val_acc: 0.9655\n",
      "Epoch 3397/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0699 - acc: 0.9670 - val_loss: 0.1640 - val_acc: 0.9675\n",
      "Epoch 3398/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0509 - acc: 0.9761 - val_loss: 0.1733 - val_acc: 0.9675\n",
      "Epoch 3399/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0633 - acc: 0.9690 - val_loss: 0.2044 - val_acc: 0.9432\n",
      "Epoch 3400/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0740 - acc: 0.9644 - val_loss: 0.1521 - val_acc: 0.9716\n",
      "Epoch 3401/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0463 - acc: 0.9782 - val_loss: 0.1583 - val_acc: 0.9716\n",
      "Epoch 3402/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0509 - acc: 0.9771 - val_loss: 0.1551 - val_acc: 0.9716\n",
      "Epoch 3403/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0533 - acc: 0.9746 - val_loss: 0.1833 - val_acc: 0.9554\n",
      "Epoch 3404/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0598 - acc: 0.9721 - val_loss: 0.1553 - val_acc: 0.9736\n",
      "Epoch 3405/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0477 - acc: 0.9807 - val_loss: 0.1604 - val_acc: 0.9655\n",
      "Epoch 3406/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0531 - acc: 0.9741 - val_loss: 0.1644 - val_acc: 0.9635\n",
      "Epoch 3407/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0558 - acc: 0.9782 - val_loss: 0.1651 - val_acc: 0.9716\n",
      "Epoch 3408/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0493 - acc: 0.9822 - val_loss: 0.1746 - val_acc: 0.9615\n",
      "Epoch 3409/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0599 - acc: 0.9746 - val_loss: 0.1724 - val_acc: 0.9635\n",
      "Epoch 3410/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0524 - acc: 0.9787 - val_loss: 0.1746 - val_acc: 0.9615\n",
      "Epoch 3411/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0496 - acc: 0.9792 - val_loss: 0.2268 - val_acc: 0.9351\n",
      "Epoch 3412/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0516 - acc: 0.9777 - val_loss: 0.2217 - val_acc: 0.9473\n",
      "Epoch 3413/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0450 - acc: 0.9822 - val_loss: 0.1781 - val_acc: 0.9594\n",
      "Epoch 3414/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0466 - acc: 0.9837 - val_loss: 0.2390 - val_acc: 0.9270\n",
      "Epoch 3415/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9705 - val_loss: 0.1707 - val_acc: 0.9635\n",
      "Epoch 3416/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0495 - acc: 0.9802 - val_loss: 0.1525 - val_acc: 0.9777\n",
      "Epoch 3417/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0587 - acc: 0.9746 - val_loss: 0.1661 - val_acc: 0.9675\n",
      "Epoch 3418/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0443 - acc: 0.9837 - val_loss: 0.1979 - val_acc: 0.9452\n",
      "Epoch 3419/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0506 - acc: 0.9797 - val_loss: 0.2011 - val_acc: 0.9513\n",
      "Epoch 3420/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0549 - acc: 0.9741 - val_loss: 0.1601 - val_acc: 0.9635\n",
      "Epoch 3421/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0760 - acc: 0.9624 - val_loss: 0.1619 - val_acc: 0.9736\n",
      "Epoch 3422/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0432 - acc: 0.9807 - val_loss: 0.2179 - val_acc: 0.9452\n",
      "Epoch 3423/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0509 - acc: 0.9822 - val_loss: 0.1532 - val_acc: 0.9736\n",
      "Epoch 3424/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0409 - acc: 0.9883 - val_loss: 0.2221 - val_acc: 0.9412\n",
      "Epoch 3425/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0620 - acc: 0.9711 - val_loss: 0.2061 - val_acc: 0.9432\n",
      "Epoch 3426/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0448 - acc: 0.9853 - val_loss: 0.2354 - val_acc: 0.9412\n",
      "Epoch 3427/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0561 - acc: 0.9746 - val_loss: 0.2324 - val_acc: 0.9412\n",
      "Epoch 3428/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0650 - acc: 0.9731 - val_loss: 0.1562 - val_acc: 0.9736\n",
      "Epoch 3429/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0466 - acc: 0.9797 - val_loss: 0.2076 - val_acc: 0.9412\n",
      "Epoch 3430/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0575 - acc: 0.9741 - val_loss: 0.1516 - val_acc: 0.9696\n",
      "Epoch 3431/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0457 - acc: 0.9797 - val_loss: 0.1514 - val_acc: 0.9594\n",
      "Epoch 3432/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0412 - acc: 0.9873 - val_loss: 0.1694 - val_acc: 0.9635\n",
      "Epoch 3433/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0463 - acc: 0.9797 - val_loss: 0.1881 - val_acc: 0.9594\n",
      "Epoch 3434/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0521 - acc: 0.9751 - val_loss: 0.1435 - val_acc: 0.9736\n",
      "Epoch 3435/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0597 - acc: 0.9726 - val_loss: 0.1527 - val_acc: 0.9736\n",
      "Epoch 3436/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0470 - acc: 0.9827 - val_loss: 0.1492 - val_acc: 0.9757\n",
      "Epoch 3437/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0580 - acc: 0.9721 - val_loss: 0.1424 - val_acc: 0.9736\n",
      "Epoch 3438/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0431 - acc: 0.9853 - val_loss: 0.1717 - val_acc: 0.9615\n",
      "Epoch 3439/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0780 - acc: 0.9655 - val_loss: 0.1598 - val_acc: 0.9635\n",
      "Epoch 3440/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0551 - acc: 0.9771 - val_loss: 0.1669 - val_acc: 0.9655\n",
      "Epoch 3441/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0665 - acc: 0.9721 - val_loss: 0.2501 - val_acc: 0.9351\n",
      "Epoch 3442/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0543 - acc: 0.9807 - val_loss: 0.1939 - val_acc: 0.9554\n",
      "Epoch 3443/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0598 - acc: 0.9756 - val_loss: 0.1772 - val_acc: 0.9615\n",
      "Epoch 3444/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0570 - acc: 0.9761 - val_loss: 0.1843 - val_acc: 0.9513\n",
      "Epoch 3445/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0542 - acc: 0.9726 - val_loss: 0.1515 - val_acc: 0.9797\n",
      "Epoch 3446/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0542 - acc: 0.9756 - val_loss: 0.1818 - val_acc: 0.9675\n",
      "Epoch 3447/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0534 - acc: 0.9751 - val_loss: 0.1910 - val_acc: 0.9615\n",
      "Epoch 3448/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0593 - acc: 0.9746 - val_loss: 0.1931 - val_acc: 0.9554\n",
      "Epoch 3449/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0465 - acc: 0.9817 - val_loss: 0.2159 - val_acc: 0.9432\n",
      "Epoch 3450/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0563 - acc: 0.9741 - val_loss: 0.1469 - val_acc: 0.9736\n",
      "Epoch 3451/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0529 - acc: 0.9761 - val_loss: 0.1653 - val_acc: 0.9655\n",
      "Epoch 3452/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0435 - acc: 0.976 - 0s - loss: 0.0585 - acc: 0.9731 - val_loss: 0.1941 - val_acc: 0.9432\n",
      "Epoch 3453/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0570 - acc: 0.9731 - val_loss: 0.1480 - val_acc: 0.9757\n",
      "Epoch 3454/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0597 - acc: 0.9716 - val_loss: 0.1730 - val_acc: 0.9635\n",
      "Epoch 3455/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0439 - acc: 0.9853 - val_loss: 0.1486 - val_acc: 0.9777\n",
      "Epoch 3456/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0605 - acc: 0.9711 - val_loss: 0.1584 - val_acc: 0.9716\n",
      "Epoch 3457/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0668 - acc: 0.9711 - val_loss: 0.1541 - val_acc: 0.9817\n",
      "Epoch 3458/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0505 - acc: 0.9766 - val_loss: 0.1795 - val_acc: 0.9615\n",
      "Epoch 3459/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0502 - acc: 0.9797 - val_loss: 0.1554 - val_acc: 0.9777\n",
      "Epoch 3460/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0407 - acc: 0.9843 - val_loss: 0.1827 - val_acc: 0.9554\n",
      "Epoch 3461/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0636 - acc: 0.9771 - val_loss: 0.1620 - val_acc: 0.9655\n",
      "Epoch 3462/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0586 - acc: 0.9685 - val_loss: 0.1730 - val_acc: 0.9635\n",
      "Epoch 3463/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0177 - acc: 1.000 - 0s - loss: 0.0388 - acc: 0.9858 - val_loss: 0.1532 - val_acc: 0.9757\n",
      "Epoch 3464/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0500 - acc: 0.9817 - val_loss: 0.1734 - val_acc: 0.9594\n",
      "Epoch 3465/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0434 - acc: 0.9812 - val_loss: 0.1835 - val_acc: 0.9615\n",
      "Epoch 3466/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0763 - acc: 0.9655 - val_loss: 0.1653 - val_acc: 0.9675\n",
      "Epoch 3467/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0608 - acc: 0.9782 - val_loss: 0.2622 - val_acc: 0.9391\n",
      "Epoch 3468/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0482 - acc: 0.9797 - val_loss: 0.1560 - val_acc: 0.9736\n",
      "Epoch 3469/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0609 - acc: 0.9711 - val_loss: 0.1854 - val_acc: 0.9635\n",
      "Epoch 3470/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0479 - acc: 0.9817 - val_loss: 0.1597 - val_acc: 0.9675\n",
      "Epoch 3471/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0484 - acc: 0.9771 - val_loss: 0.1799 - val_acc: 0.9615\n",
      "Epoch 3472/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0797 - acc: 0.9655 - val_loss: 0.1824 - val_acc: 0.9675\n",
      "Epoch 3473/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0503 - acc: 0.9812 - val_loss: 0.1758 - val_acc: 0.9615\n",
      "Epoch 3474/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0470 - acc: 0.9792 - val_loss: 0.1427 - val_acc: 0.9777\n",
      "Epoch 3475/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0471 - acc: 0.9812 - val_loss: 0.1781 - val_acc: 0.9533\n",
      "Epoch 3476/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0425 - acc: 0.9837 - val_loss: 0.1480 - val_acc: 0.9757\n",
      "Epoch 3477/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0476 - acc: 0.9797 - val_loss: 0.2364 - val_acc: 0.9371\n",
      "Epoch 3478/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0525 - acc: 0.9777 - val_loss: 0.1709 - val_acc: 0.9615\n",
      "Epoch 3479/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0435 - acc: 0.9837 - val_loss: 0.2084 - val_acc: 0.9493\n",
      "Epoch 3480/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0556 - acc: 0.9756 - val_loss: 0.1623 - val_acc: 0.9757\n",
      "Epoch 3481/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0593 - acc: 0.9705 - val_loss: 0.2153 - val_acc: 0.9493\n",
      "Epoch 3482/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0491 - acc: 0.9782 - val_loss: 0.1685 - val_acc: 0.9594\n",
      "Epoch 3483/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0575 - acc: 0.9756 - val_loss: 0.1534 - val_acc: 0.9716\n",
      "Epoch 3484/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0757 - acc: 0.9695 - val_loss: 0.1581 - val_acc: 0.9757\n",
      "Epoch 3485/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0422 - acc: 0.9837 - val_loss: 0.1549 - val_acc: 0.9757\n",
      "Epoch 3486/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0580 - acc: 0.9726 - val_loss: 0.2384 - val_acc: 0.9412\n",
      "Epoch 3487/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0456 - acc: 0.9827 - val_loss: 0.1810 - val_acc: 0.9554\n",
      "Epoch 3488/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0483 - acc: 0.9777 - val_loss: 0.1690 - val_acc: 0.9574\n",
      "Epoch 3489/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0451 - acc: 0.9807 - val_loss: 0.1615 - val_acc: 0.9696\n",
      "Epoch 3490/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0523 - acc: 0.9792 - val_loss: 0.1535 - val_acc: 0.9757\n",
      "Epoch 3491/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0468 - acc: 0.9802 - val_loss: 0.1989 - val_acc: 0.9554\n",
      "Epoch 3492/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0634 - acc: 0.9680 - val_loss: 0.2314 - val_acc: 0.9391\n",
      "Epoch 3493/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0536 - acc: 0.9787 - val_loss: 0.1678 - val_acc: 0.9675\n",
      "Epoch 3494/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0538 - acc: 0.9802 - val_loss: 0.1634 - val_acc: 0.9696\n",
      "Epoch 3495/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0450 - acc: 0.9827 - val_loss: 0.1873 - val_acc: 0.9574\n",
      "Epoch 3496/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0755 - acc: 0.968 - 0s - loss: 0.0460 - acc: 0.9817 - val_loss: 0.1667 - val_acc: 0.9675\n",
      "Epoch 3497/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0509 - acc: 0.9797 - val_loss: 0.1985 - val_acc: 0.9533\n",
      "Epoch 3498/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0547 - acc: 0.9731 - val_loss: 0.1802 - val_acc: 0.9615\n",
      "Epoch 3499/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0459 - acc: 0.9822 - val_loss: 0.1999 - val_acc: 0.9554\n",
      "Epoch 3500/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0656 - acc: 0.9721 - val_loss: 0.1604 - val_acc: 0.9817\n",
      "Epoch 3501/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0559 - acc: 0.9741 - val_loss: 0.1593 - val_acc: 0.9696\n",
      "Epoch 3502/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0453 - acc: 0.9802 - val_loss: 0.1686 - val_acc: 0.9635\n",
      "Epoch 3503/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0642 - acc: 0.9711 - val_loss: 0.1593 - val_acc: 0.9716\n",
      "Epoch 3504/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0456 - acc: 0.9782 - val_loss: 0.1537 - val_acc: 0.9757\n",
      "Epoch 3505/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0466 - acc: 0.9787 - val_loss: 0.1780 - val_acc: 0.9635\n",
      "Epoch 3506/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0539 - acc: 0.9766 - val_loss: 0.2749 - val_acc: 0.9371\n",
      "Epoch 3507/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0783 - acc: 0.9700 - val_loss: 0.1683 - val_acc: 0.9757\n",
      "Epoch 3508/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0509 - acc: 0.9787 - val_loss: 0.1563 - val_acc: 0.9696\n",
      "Epoch 3509/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0481 - acc: 0.9802 - val_loss: 0.1606 - val_acc: 0.9716\n",
      "Epoch 3510/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0520 - acc: 0.9777 - val_loss: 0.1645 - val_acc: 0.9655\n",
      "Epoch 3511/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0470 - acc: 0.9827 - val_loss: 0.1611 - val_acc: 0.9716\n",
      "Epoch 3512/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0601 - acc: 0.9726 - val_loss: 0.1920 - val_acc: 0.9574\n",
      "Epoch 3513/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0444 - acc: 0.9832 - val_loss: 0.1685 - val_acc: 0.9675\n",
      "Epoch 3514/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0538 - acc: 0.9751 - val_loss: 0.1991 - val_acc: 0.9493\n",
      "Epoch 3515/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0474 - acc: 0.9756 - val_loss: 0.4661 - val_acc: 0.9006\n",
      "Epoch 3516/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0857 - acc: 0.9644 - val_loss: 0.2012 - val_acc: 0.9452\n",
      "Epoch 3517/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0448 - acc: 0.9837 - val_loss: 0.1564 - val_acc: 0.9716\n",
      "Epoch 3518/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0351 - acc: 0.9883 - val_loss: 0.1587 - val_acc: 0.9716\n",
      "Epoch 3519/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0442 - acc: 0.9843 - val_loss: 0.1486 - val_acc: 0.9797\n",
      "Epoch 3520/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0494 - acc: 0.9802 - val_loss: 0.1430 - val_acc: 0.9757\n",
      "Epoch 3521/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0526 - acc: 0.9731 - val_loss: 0.1463 - val_acc: 0.9696\n",
      "Epoch 3522/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0445 - acc: 0.9807 - val_loss: 0.1503 - val_acc: 0.9716\n",
      "Epoch 3523/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0441 - acc: 0.9812 - val_loss: 0.1589 - val_acc: 0.9736\n",
      "Epoch 3524/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0713 - acc: 0.9619 - val_loss: 0.1571 - val_acc: 0.9696\n",
      "Epoch 3525/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0423 - acc: 0.9848 - val_loss: 0.1747 - val_acc: 0.9574\n",
      "Epoch 3526/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0507 - acc: 0.9771 - val_loss: 0.1982 - val_acc: 0.9452\n",
      "Epoch 3527/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0659 - acc: 0.9665 - val_loss: 0.1519 - val_acc: 0.9757\n",
      "Epoch 3528/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0575 - acc: 0.9751 - val_loss: 0.1453 - val_acc: 0.9838\n",
      "Epoch 3529/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0484 - acc: 0.9792 - val_loss: 0.2366 - val_acc: 0.9391\n",
      "Epoch 3530/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0451 - acc: 0.9843 - val_loss: 0.1733 - val_acc: 0.9513\n",
      "Epoch 3531/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0471 - acc: 0.9777 - val_loss: 0.1576 - val_acc: 0.9696\n",
      "Epoch 3532/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0533 - acc: 0.9761 - val_loss: 0.1959 - val_acc: 0.9554\n",
      "Epoch 3533/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0496 - acc: 0.9807 - val_loss: 0.1509 - val_acc: 0.9777\n",
      "Epoch 3534/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0546 - acc: 0.9716 - val_loss: 0.1672 - val_acc: 0.9635\n",
      "Epoch 3535/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0605 - acc: 0.9746 - val_loss: 0.2343 - val_acc: 0.9371\n",
      "Epoch 3536/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0589 - acc: 0.9746 - val_loss: 0.2581 - val_acc: 0.9270\n",
      "Epoch 3537/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0419 - acc: 0.9837 - val_loss: 0.2448 - val_acc: 0.9351\n",
      "Epoch 3538/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0604 - acc: 0.9690 - val_loss: 0.1626 - val_acc: 0.9635\n",
      "Epoch 3539/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0694 - acc: 0.9665 - val_loss: 0.2338 - val_acc: 0.9412\n",
      "Epoch 3540/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0469 - acc: 0.9822 - val_loss: 0.1610 - val_acc: 0.9736\n",
      "Epoch 3541/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0393 - acc: 0.9858 - val_loss: 0.1413 - val_acc: 0.9777\n",
      "Epoch 3542/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0481 - acc: 0.9766 - val_loss: 0.1596 - val_acc: 0.9696\n",
      "Epoch 3543/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0431 - acc: 0.9792 - val_loss: 0.2049 - val_acc: 0.9412\n",
      "Epoch 3544/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0476 - acc: 0.9787 - val_loss: 0.1713 - val_acc: 0.9594\n",
      "Epoch 3545/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0472 - acc: 0.9787 - val_loss: 0.2049 - val_acc: 0.9432\n",
      "Epoch 3546/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0541 - acc: 0.9756 - val_loss: 0.1657 - val_acc: 0.9655\n",
      "Epoch 3547/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0592 - acc: 0.9741 - val_loss: 0.2380 - val_acc: 0.9290\n",
      "Epoch 3548/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0645 - acc: 0.9741 - val_loss: 0.2009 - val_acc: 0.9493\n",
      "Epoch 3549/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0482 - acc: 0.9817 - val_loss: 0.1518 - val_acc: 0.9777\n",
      "Epoch 3550/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0529 - acc: 0.9761 - val_loss: 0.1521 - val_acc: 0.9675\n",
      "Epoch 3551/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0470 - acc: 0.9802 - val_loss: 0.1625 - val_acc: 0.9696\n",
      "Epoch 3552/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0718 - acc: 0.9695 - val_loss: 0.1754 - val_acc: 0.9696\n",
      "Epoch 3553/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0485 - acc: 0.9802 - val_loss: 0.1460 - val_acc: 0.9736\n",
      "Epoch 3554/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0516 - acc: 0.9777 - val_loss: 0.1665 - val_acc: 0.9615\n",
      "Epoch 3555/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0463 - acc: 0.9837 - val_loss: 0.1394 - val_acc: 0.9716\n",
      "Epoch 3556/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0394 - acc: 0.9858 - val_loss: 0.2489 - val_acc: 0.9371\n",
      "Epoch 3557/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0772 - acc: 0.9675 - val_loss: 0.1849 - val_acc: 0.9513\n",
      "Epoch 3558/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0594 - acc: 0.9736 - val_loss: 0.1766 - val_acc: 0.9635\n",
      "Epoch 3559/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0462 - acc: 0.9802 - val_loss: 0.1750 - val_acc: 0.9675\n",
      "Epoch 3560/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0394 - acc: 0.9858 - val_loss: 0.1795 - val_acc: 0.9574\n",
      "Epoch 3561/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0686 - acc: 0.9690 - val_loss: 0.1582 - val_acc: 0.9736\n",
      "Epoch 3562/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0371 - acc: 0.9863 - val_loss: 0.1487 - val_acc: 0.9736\n",
      "Epoch 3563/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0455 - acc: 0.9777 - val_loss: 0.1525 - val_acc: 0.9736\n",
      "Epoch 3564/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0425 - acc: 0.9812 - val_loss: 0.1531 - val_acc: 0.9757\n",
      "Epoch 3565/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0461 - acc: 0.9812 - val_loss: 0.2682 - val_acc: 0.9310\n",
      "Epoch 3566/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0513 - acc: 0.9792 - val_loss: 0.1700 - val_acc: 0.9574\n",
      "Epoch 3567/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0797 - acc: 0.9655 - val_loss: 0.1503 - val_acc: 0.9757\n",
      "Epoch 3568/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0351 - acc: 0.9888 - val_loss: 0.1578 - val_acc: 0.9696\n",
      "Epoch 3569/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0420 - acc: 0.9827 - val_loss: 0.1917 - val_acc: 0.9432\n",
      "Epoch 3570/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0517 - acc: 0.9837 - val_loss: 0.1762 - val_acc: 0.9473\n",
      "Epoch 3571/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0485 - acc: 0.9787 - val_loss: 0.1438 - val_acc: 0.9777\n",
      "Epoch 3572/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0372 - acc: 0.9888 - val_loss: 0.1660 - val_acc: 0.9635\n",
      "Epoch 3573/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0475 - acc: 0.9802 - val_loss: 0.1449 - val_acc: 0.9736\n",
      "Epoch 3574/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0501 - acc: 0.9777 - val_loss: 0.1450 - val_acc: 0.9757\n",
      "Epoch 3575/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0549 - acc: 0.9716 - val_loss: 0.1393 - val_acc: 0.9757\n",
      "Epoch 3576/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0355 - acc: 0.9863 - val_loss: 0.1541 - val_acc: 0.9615\n",
      "Epoch 3577/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0597 - acc: 0.9736 - val_loss: 0.1466 - val_acc: 0.9757\n",
      "Epoch 3578/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0380 - acc: 0.9873 - val_loss: 0.1610 - val_acc: 0.9635\n",
      "Epoch 3579/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0588 - acc: 0.9736 - val_loss: 0.2820 - val_acc: 0.9249\n",
      "Epoch 3580/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0709 - acc: 0.9700 - val_loss: 0.2306 - val_acc: 0.9331\n",
      "Epoch 3581/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0409 - acc: 0.9848 - val_loss: 0.1435 - val_acc: 0.9736\n",
      "Epoch 3582/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0450 - acc: 0.9827 - val_loss: 0.1372 - val_acc: 0.9797\n",
      "Epoch 3583/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0379 - acc: 0.9873 - val_loss: 0.1602 - val_acc: 0.9615\n",
      "Epoch 3584/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0457 - acc: 0.9802 - val_loss: 0.1806 - val_acc: 0.9554\n",
      "Epoch 3585/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0500 - acc: 0.9756 - val_loss: 0.1661 - val_acc: 0.9574\n",
      "Epoch 3586/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0553 - acc: 0.9751 - val_loss: 0.1507 - val_acc: 0.9736\n",
      "Epoch 3587/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0408 - acc: 0.9832 - val_loss: 0.1797 - val_acc: 0.9473\n",
      "Epoch 3588/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0595 - acc: 0.9741 - val_loss: 0.1565 - val_acc: 0.9736\n",
      "Epoch 3589/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0457 - acc: 0.9812 - val_loss: 0.1764 - val_acc: 0.9533\n",
      "Epoch 3590/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0416 - acc: 0.9822 - val_loss: 0.2354 - val_acc: 0.9412\n",
      "Epoch 3591/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0529 - acc: 0.9822 - val_loss: 0.2980 - val_acc: 0.9331\n",
      "Epoch 3592/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0644 - acc: 0.9777 - val_loss: 0.1576 - val_acc: 0.9655\n",
      "Epoch 3593/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0613 - acc: 0.9695 - val_loss: 0.1411 - val_acc: 0.9817\n",
      "Epoch 3594/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0394 - acc: 0.9817 - val_loss: 0.1558 - val_acc: 0.9675\n",
      "Epoch 3595/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0361 - acc: 0.9848 - val_loss: 0.1957 - val_acc: 0.9391\n",
      "Epoch 3596/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0433 - acc: 0.9812 - val_loss: 0.1491 - val_acc: 0.9736\n",
      "Epoch 3597/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0319 - acc: 0.9929 - val_loss: 0.1489 - val_acc: 0.9736\n",
      "Epoch 3598/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0558 - acc: 0.9766 - val_loss: 0.1804 - val_acc: 0.9635\n",
      "Epoch 3599/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0521 - acc: 0.9777 - val_loss: 0.1823 - val_acc: 0.9513\n",
      "Epoch 3600/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0462 - acc: 0.9807 - val_loss: 0.2376 - val_acc: 0.9391\n",
      "Epoch 3601/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1511 - acc: 0.945 - 0s - loss: 0.0483 - acc: 0.9812 - val_loss: 0.1358 - val_acc: 0.9777\n",
      "Epoch 3602/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0494 - acc: 0.9771 - val_loss: 0.1807 - val_acc: 0.9574\n",
      "Epoch 3603/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0443 - acc: 0.9817 - val_loss: 0.1638 - val_acc: 0.9615\n",
      "Epoch 3604/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0494 - acc: 0.9792 - val_loss: 0.2775 - val_acc: 0.9391\n",
      "Epoch 3605/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0463 - acc: 0.9782 - val_loss: 0.1605 - val_acc: 0.9696\n",
      "Epoch 3606/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0448 - acc: 0.9822 - val_loss: 0.1680 - val_acc: 0.9615\n",
      "Epoch 3607/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0615 - acc: 0.9716 - val_loss: 0.1767 - val_acc: 0.9615\n",
      "Epoch 3608/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0378 - acc: 0.9858 - val_loss: 0.1925 - val_acc: 0.9513\n",
      "Epoch 3609/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0719 - acc: 0.9711 - val_loss: 0.1556 - val_acc: 0.9736\n",
      "Epoch 3610/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0367 - acc: 0.9878 - val_loss: 0.1521 - val_acc: 0.9777\n",
      "Epoch 3611/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0532 - acc: 0.9751 - val_loss: 0.1496 - val_acc: 0.9736\n",
      "Epoch 3612/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0317 - acc: 0.9868 - val_loss: 0.1562 - val_acc: 0.9675\n",
      "Epoch 3613/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0598 - acc: 0.9751 - val_loss: 0.1680 - val_acc: 0.9696\n",
      "Epoch 3614/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0516 - acc: 0.9797 - val_loss: 0.1546 - val_acc: 0.9757\n",
      "Epoch 3615/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0366 - acc: 0.9868 - val_loss: 0.1505 - val_acc: 0.9797\n",
      "Epoch 3616/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0521 - acc: 0.9771 - val_loss: 0.1491 - val_acc: 0.9797\n",
      "Epoch 3617/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0413 - acc: 0.9827 - val_loss: 0.1365 - val_acc: 0.9817\n",
      "Epoch 3618/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0410 - acc: 0.9837 - val_loss: 0.1729 - val_acc: 0.9615\n",
      "Epoch 3619/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0627 - acc: 0.9736 - val_loss: 0.2280 - val_acc: 0.9452\n",
      "Epoch 3620/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0519 - acc: 0.9761 - val_loss: 0.1520 - val_acc: 0.9797\n",
      "Epoch 3621/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0446 - acc: 0.9853 - val_loss: 0.1510 - val_acc: 0.9797\n",
      "Epoch 3622/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0500 - acc: 0.9771 - val_loss: 0.1797 - val_acc: 0.9635\n",
      "Epoch 3623/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0401 - acc: 0.9853 - val_loss: 0.2215 - val_acc: 0.9412\n",
      "Epoch 3624/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0426 - acc: 0.9771 - val_loss: 0.2078 - val_acc: 0.9493\n",
      "Epoch 3625/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0387 - acc: 0.9858 - val_loss: 0.1619 - val_acc: 0.9696\n",
      "Epoch 3626/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0545 - acc: 0.9766 - val_loss: 0.1834 - val_acc: 0.9513\n",
      "Epoch 3627/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0420 - acc: 0.9827 - val_loss: 0.1562 - val_acc: 0.9757\n",
      "Epoch 3628/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0667 - acc: 0.9716 - val_loss: 0.1643 - val_acc: 0.9635\n",
      "Epoch 3629/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0690 - acc: 0.9695 - val_loss: 0.1617 - val_acc: 0.9696\n",
      "Epoch 3630/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0491 - acc: 0.9853 - val_loss: 0.1670 - val_acc: 0.9757\n",
      "Epoch 3631/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0425 - acc: 0.9797 - val_loss: 0.4157 - val_acc: 0.9087\n",
      "Epoch 3632/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.3355 - acc: 0.921 - 0s - loss: 0.0822 - acc: 0.9670 - val_loss: 0.2103 - val_acc: 0.9473\n",
      "Epoch 3633/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0437 - acc: 0.9817 - val_loss: 0.1437 - val_acc: 0.9797\n",
      "Epoch 3634/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0394 - acc: 0.9843 - val_loss: 0.1584 - val_acc: 0.9716\n",
      "Epoch 3635/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0505 - acc: 0.9787 - val_loss: 0.1542 - val_acc: 0.9675\n",
      "Epoch 3636/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0359 - acc: 0.9843 - val_loss: 0.1846 - val_acc: 0.9615\n",
      "Epoch 3637/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0485 - acc: 0.9812 - val_loss: 0.1480 - val_acc: 0.9716\n",
      "Epoch 3638/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0428 - acc: 0.9812 - val_loss: 0.2436 - val_acc: 0.9310\n",
      "Epoch 3639/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0666 - acc: 0.9695 - val_loss: 0.1595 - val_acc: 0.9736\n",
      "Epoch 3640/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0440 - acc: 0.9843 - val_loss: 0.1613 - val_acc: 0.9696\n",
      "Epoch 3641/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0550 - acc: 0.9787 - val_loss: 0.2709 - val_acc: 0.9290\n",
      "Epoch 3642/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0504 - acc: 0.9792 - val_loss: 0.1790 - val_acc: 0.9594\n",
      "Epoch 3643/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0451 - acc: 0.9812 - val_loss: 0.1529 - val_acc: 0.9635\n",
      "Epoch 3644/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0545 - acc: 0.9802 - val_loss: 0.1388 - val_acc: 0.9817\n",
      "Epoch 3645/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0352 - acc: 0.9883 - val_loss: 0.1656 - val_acc: 0.9594\n",
      "Epoch 3646/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0378 - acc: 0.9878 - val_loss: 0.1487 - val_acc: 0.9757\n",
      "Epoch 3647/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0406 - acc: 0.9848 - val_loss: 0.1557 - val_acc: 0.9574\n",
      "Epoch 3648/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0579 - acc: 0.9731 - val_loss: 0.1758 - val_acc: 0.9574\n",
      "Epoch 3649/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0509 - acc: 0.9822 - val_loss: 0.1456 - val_acc: 0.9757\n",
      "Epoch 3650/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0538 - acc: 0.9771 - val_loss: 0.1363 - val_acc: 0.9777\n",
      "Epoch 3651/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0453 - acc: 0.9807 - val_loss: 0.1592 - val_acc: 0.9655\n",
      "Epoch 3652/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0437 - acc: 0.9802 - val_loss: 0.2376 - val_acc: 0.9452\n",
      "Epoch 3653/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0737 - acc: 0.9644 - val_loss: 0.2097 - val_acc: 0.9513\n",
      "Epoch 3654/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1278 - acc: 0.945 - 0s - loss: 0.0413 - acc: 0.9853 - val_loss: 0.1649 - val_acc: 0.9574\n",
      "Epoch 3655/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0521 - acc: 0.9761 - val_loss: 0.1658 - val_acc: 0.9675\n",
      "Epoch 3656/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0380 - acc: 0.9873 - val_loss: 0.2343 - val_acc: 0.9412\n",
      "Epoch 3657/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0463 - acc: 0.9817 - val_loss: 0.1802 - val_acc: 0.9554\n",
      "Epoch 3658/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0563 - acc: 0.9761 - val_loss: 0.1510 - val_acc: 0.9757\n",
      "Epoch 3659/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0443 - acc: 0.9858 - val_loss: 0.1719 - val_acc: 0.9635\n",
      "Epoch 3660/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0542 - acc: 0.9741 - val_loss: 0.1705 - val_acc: 0.9675\n",
      "Epoch 3661/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0325 - acc: 0.9888 - val_loss: 0.1767 - val_acc: 0.9655\n",
      "Epoch 3662/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0608 - acc: 0.9771 - val_loss: 0.1605 - val_acc: 0.9757\n",
      "Epoch 3663/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0421 - acc: 0.9812 - val_loss: 0.1938 - val_acc: 0.9513\n",
      "Epoch 3664/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0818 - acc: 0.976 - 0s - loss: 0.0408 - acc: 0.9888 - val_loss: 0.1800 - val_acc: 0.9554\n",
      "Epoch 3665/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0471 - acc: 0.9812 - val_loss: 0.2216 - val_acc: 0.9432\n",
      "Epoch 3666/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0413 - acc: 0.9837 - val_loss: 0.1412 - val_acc: 0.9757\n",
      "Epoch 3667/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0407 - acc: 0.9843 - val_loss: 0.2432 - val_acc: 0.9351\n",
      "Epoch 3668/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0453 - acc: 0.9843 - val_loss: 0.1482 - val_acc: 0.9757\n",
      "Epoch 3669/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0349 - acc: 0.9848 - val_loss: 0.1519 - val_acc: 0.9757\n",
      "Epoch 3670/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0333 - acc: 0.9888 - val_loss: 0.2085 - val_acc: 0.9473\n",
      "Epoch 3671/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0403 - acc: 0.9848 - val_loss: 0.1584 - val_acc: 0.9777\n",
      "Epoch 3672/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0632 - acc: 0.9766 - val_loss: 0.1773 - val_acc: 0.9533\n",
      "Epoch 3673/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0501 - acc: 0.9766 - val_loss: 0.1871 - val_acc: 0.9513\n",
      "Epoch 3674/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0505 - acc: 0.9741 - val_loss: 0.1539 - val_acc: 0.9757\n",
      "Epoch 3675/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0427 - acc: 0.9868 - val_loss: 0.1528 - val_acc: 0.9817\n",
      "Epoch 3676/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0396 - acc: 0.992 - 0s - loss: 0.0312 - acc: 0.9893 - val_loss: 0.2083 - val_acc: 0.9473\n",
      "Epoch 3677/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0624 - acc: 0.9711 - val_loss: 0.1466 - val_acc: 0.9757\n",
      "Epoch 3678/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0376 - acc: 0.9843 - val_loss: 0.1934 - val_acc: 0.9533\n",
      "Epoch 3679/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0395 - acc: 0.9863 - val_loss: 0.1497 - val_acc: 0.9777\n",
      "Epoch 3680/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0496 - acc: 0.9771 - val_loss: 0.1522 - val_acc: 0.9777\n",
      "Epoch 3681/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0399 - acc: 0.9853 - val_loss: 0.2518 - val_acc: 0.9412\n",
      "Epoch 3682/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0459 - acc: 0.9827 - val_loss: 0.1992 - val_acc: 0.9452\n",
      "Epoch 3683/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0330 - acc: 0.9914 - val_loss: 0.1493 - val_acc: 0.9716\n",
      "Epoch 3684/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0564 - acc: 0.9797 - val_loss: 0.1748 - val_acc: 0.9554\n",
      "Epoch 3685/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0517 - acc: 0.9761 - val_loss: 0.2516 - val_acc: 0.9331\n",
      "Epoch 3686/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0652 - acc: 0.9705 - val_loss: 0.1638 - val_acc: 0.9736\n",
      "Epoch 3687/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0343 - acc: 0.9898 - val_loss: 0.1446 - val_acc: 0.9797\n",
      "Epoch 3688/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0434 - acc: 0.9837 - val_loss: 0.1723 - val_acc: 0.9615\n",
      "Epoch 3689/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0359 - acc: 0.9878 - val_loss: 0.1386 - val_acc: 0.9817\n",
      "Epoch 3690/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0529 - acc: 0.9736 - val_loss: 0.1529 - val_acc: 0.9777\n",
      "Epoch 3691/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0607 - acc: 0.968 - 0s - loss: 0.0408 - acc: 0.9858 - val_loss: 0.1433 - val_acc: 0.9757\n",
      "Epoch 3692/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0351 - acc: 0.9878 - val_loss: 0.1514 - val_acc: 0.9716\n",
      "Epoch 3693/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0404 - acc: 0.9843 - val_loss: 0.1898 - val_acc: 0.9554\n",
      "Epoch 3694/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0731 - acc: 0.9716 - val_loss: 0.1592 - val_acc: 0.9675\n",
      "Epoch 3695/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0357 - acc: 0.9873 - val_loss: 0.1633 - val_acc: 0.9655\n",
      "Epoch 3696/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0474 - acc: 0.9807 - val_loss: 0.1513 - val_acc: 0.9777\n",
      "Epoch 3697/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0288 - acc: 0.9919 - val_loss: 0.1485 - val_acc: 0.9777\n",
      "Epoch 3698/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0457 - acc: 0.9787 - val_loss: 0.1753 - val_acc: 0.9675\n",
      "Epoch 3699/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0304 - acc: 0.9919 - val_loss: 0.2604 - val_acc: 0.9331\n",
      "Epoch 3700/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0535 - acc: 0.9741 - val_loss: 0.1686 - val_acc: 0.9615\n",
      "Epoch 3701/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0478 - acc: 0.9766 - val_loss: 0.1609 - val_acc: 0.9716\n",
      "Epoch 3702/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0388 - acc: 0.9853 - val_loss: 0.1524 - val_acc: 0.9696\n",
      "Epoch 3703/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0559 - acc: 0.9741 - val_loss: 0.1653 - val_acc: 0.9716\n",
      "Epoch 3704/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0638 - acc: 0.9721 - val_loss: 0.1667 - val_acc: 0.9777\n",
      "Epoch 3705/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0578 - acc: 0.9761 - val_loss: 0.1747 - val_acc: 0.9635\n",
      "Epoch 3706/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0527 - acc: 0.9736 - val_loss: 0.1591 - val_acc: 0.9696\n",
      "Epoch 3707/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0355 - acc: 0.9883 - val_loss: 0.1849 - val_acc: 0.9533\n",
      "Epoch 3708/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0382 - acc: 0.9863 - val_loss: 0.1612 - val_acc: 0.9736\n",
      "Epoch 3709/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0403 - acc: 0.9812 - val_loss: 0.3024 - val_acc: 0.9189\n",
      "Epoch 3710/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0445 - acc: 0.9827 - val_loss: 0.2277 - val_acc: 0.9391\n",
      "Epoch 3711/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0520 - acc: 0.9782 - val_loss: 0.1621 - val_acc: 0.9655\n",
      "Epoch 3712/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0457 - acc: 0.9807 - val_loss: 0.1567 - val_acc: 0.9736\n",
      "Epoch 3713/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0393 - acc: 0.9832 - val_loss: 0.1398 - val_acc: 0.9817\n",
      "Epoch 3714/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0450 - acc: 0.9807 - val_loss: 0.1535 - val_acc: 0.9777\n",
      "Epoch 3715/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0447 - acc: 0.9822 - val_loss: 0.1893 - val_acc: 0.9554\n",
      "Epoch 3716/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0416 - acc: 0.9853 - val_loss: 0.2016 - val_acc: 0.9594\n",
      "Epoch 3717/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0625 - acc: 0.9741 - val_loss: 0.2285 - val_acc: 0.9412\n",
      "Epoch 3718/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0444 - acc: 0.9807 - val_loss: 0.1771 - val_acc: 0.9615\n",
      "Epoch 3719/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0700 - acc: 0.9665 - val_loss: 0.1798 - val_acc: 0.9574\n",
      "Epoch 3720/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0551 - acc: 0.9771 - val_loss: 0.1724 - val_acc: 0.9716\n",
      "Epoch 3721/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0364 - acc: 0.9873 - val_loss: 0.1607 - val_acc: 0.9757\n",
      "Epoch 3722/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0597 - acc: 0.9756 - val_loss: 0.1781 - val_acc: 0.9675\n",
      "Epoch 3723/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0378 - acc: 0.9837 - val_loss: 0.2032 - val_acc: 0.9452\n",
      "Epoch 3724/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0328 - acc: 0.9898 - val_loss: 0.1574 - val_acc: 0.9777\n",
      "Epoch 3725/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0487 - acc: 0.9787 - val_loss: 0.1887 - val_acc: 0.9615\n",
      "Epoch 3726/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0356 - acc: 0.9893 - val_loss: 0.1566 - val_acc: 0.9696\n",
      "Epoch 3727/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0507 - acc: 0.9777 - val_loss: 0.2410 - val_acc: 0.9351\n",
      "Epoch 3728/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0531 - acc: 0.9766 - val_loss: 0.2665 - val_acc: 0.9290\n",
      "Epoch 3729/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0360 - acc: 0.9848 - val_loss: 0.1691 - val_acc: 0.9675\n",
      "Epoch 3730/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0378 - acc: 0.9853 - val_loss: 0.3075 - val_acc: 0.9331\n",
      "Epoch 3731/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0493 - acc: 0.9817 - val_loss: 0.1404 - val_acc: 0.9797\n",
      "Epoch 3732/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0519 - acc: 0.9766 - val_loss: 0.1489 - val_acc: 0.9817\n",
      "Epoch 3733/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0400 - acc: 0.9837 - val_loss: 0.1722 - val_acc: 0.9615\n",
      "Epoch 3734/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0553 - acc: 0.9751 - val_loss: 0.1480 - val_acc: 0.9777\n",
      "Epoch 3735/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0409 - acc: 0.9832 - val_loss: 0.1436 - val_acc: 0.9757\n",
      "Epoch 3736/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0340 - acc: 0.9863 - val_loss: 0.1597 - val_acc: 0.9675\n",
      "Epoch 3737/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0542 - acc: 0.9731 - val_loss: 0.1723 - val_acc: 0.9635\n",
      "Epoch 3738/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0390 - acc: 0.9843 - val_loss: 0.1672 - val_acc: 0.9675\n",
      "Epoch 3739/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0411 - acc: 0.9837 - val_loss: 0.2386 - val_acc: 0.9432\n",
      "Epoch 3740/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0545 - acc: 0.9746 - val_loss: 0.1609 - val_acc: 0.9757\n",
      "Epoch 3741/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0568 - acc: 0.9756 - val_loss: 0.3126 - val_acc: 0.9412\n",
      "Epoch 3742/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0550 - acc: 0.9787 - val_loss: 0.1814 - val_acc: 0.9635\n",
      "Epoch 3743/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0608 - acc: 0.9705 - val_loss: 0.1640 - val_acc: 0.9757\n",
      "Epoch 3744/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0363 - acc: 0.9873 - val_loss: 0.1411 - val_acc: 0.9817\n",
      "Epoch 3745/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0310 - acc: 0.9898 - val_loss: 0.1772 - val_acc: 0.9696\n",
      "Epoch 3746/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0544 - acc: 0.9777 - val_loss: 0.1778 - val_acc: 0.9635\n",
      "Epoch 3747/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0527 - acc: 0.9771 - val_loss: 0.2004 - val_acc: 0.9493\n",
      "Epoch 3748/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0578 - acc: 0.9731 - val_loss: 0.1518 - val_acc: 0.9817\n",
      "Epoch 3749/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0427 - acc: 0.9827 - val_loss: 0.1618 - val_acc: 0.9696\n",
      "Epoch 3750/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0571 - acc: 0.9746 - val_loss: 0.4353 - val_acc: 0.8986\n",
      "Epoch 3751/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0618 - acc: 0.9771 - val_loss: 0.1518 - val_acc: 0.9736\n",
      "Epoch 3752/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0351 - acc: 0.9853 - val_loss: 0.1560 - val_acc: 0.9757\n",
      "Epoch 3753/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0376 - acc: 0.9858 - val_loss: 0.2045 - val_acc: 0.9533\n",
      "Epoch 3754/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0497 - acc: 0.9812 - val_loss: 0.1417 - val_acc: 0.9817\n",
      "Epoch 3755/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0347 - acc: 0.9878 - val_loss: 0.1794 - val_acc: 0.9493\n",
      "Epoch 3756/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0380 - acc: 0.9858 - val_loss: 0.1539 - val_acc: 0.9716\n",
      "Epoch 3757/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0435 - acc: 0.9807 - val_loss: 0.1513 - val_acc: 0.9838\n",
      "Epoch 3758/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0343 - acc: 0.9888 - val_loss: 0.1655 - val_acc: 0.9635\n",
      "Epoch 3759/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0290 - acc: 0.9924 - val_loss: 0.1388 - val_acc: 0.9817\n",
      "Epoch 3760/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0558 - acc: 0.9746 - val_loss: 0.2240 - val_acc: 0.9391\n",
      "Epoch 3761/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0441 - acc: 0.9848 - val_loss: 0.1582 - val_acc: 0.9716\n",
      "Epoch 3762/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0364 - acc: 0.9837 - val_loss: 0.1539 - val_acc: 0.9757\n",
      "Epoch 3763/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0386 - acc: 0.9858 - val_loss: 0.1548 - val_acc: 0.9757\n",
      "Epoch 3764/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0418 - acc: 0.976 - 0s - loss: 0.0441 - acc: 0.9797 - val_loss: 0.1586 - val_acc: 0.9716\n",
      "Epoch 3765/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9726 - val_loss: 0.2005 - val_acc: 0.9513\n",
      "Epoch 3766/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0502 - acc: 0.9782 - val_loss: 0.1697 - val_acc: 0.9635\n",
      "Epoch 3767/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0397 - acc: 0.9853 - val_loss: 0.1483 - val_acc: 0.9797\n",
      "Epoch 3768/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0388 - acc: 0.9837 - val_loss: 0.2243 - val_acc: 0.9371\n",
      "Epoch 3769/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0496 - acc: 0.9756 - val_loss: 0.1456 - val_acc: 0.9777\n",
      "Epoch 3770/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0381 - acc: 0.9878 - val_loss: 0.1438 - val_acc: 0.9817\n",
      "Epoch 3771/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0543 - acc: 0.9731 - val_loss: 0.1512 - val_acc: 0.9797\n",
      "Epoch 3772/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0369 - acc: 0.9843 - val_loss: 0.2039 - val_acc: 0.9533\n",
      "Epoch 3773/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0582 - acc: 0.9736 - val_loss: 0.2702 - val_acc: 0.9391\n",
      "Epoch 3774/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0828 - acc: 0.9624 - val_loss: 0.1512 - val_acc: 0.9777\n",
      "Epoch 3775/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0288 - acc: 0.9934 - val_loss: 0.1505 - val_acc: 0.9757\n",
      "Epoch 3776/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0336 - acc: 0.9873 - val_loss: 0.1641 - val_acc: 0.9675\n",
      "Epoch 3777/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0321 - acc: 0.9873 - val_loss: 0.1631 - val_acc: 0.9675\n",
      "Epoch 3778/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0525 - acc: 0.9756 - val_loss: 0.1511 - val_acc: 0.9777\n",
      "Epoch 3779/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0537 - acc: 0.9777 - val_loss: 0.1434 - val_acc: 0.9817\n",
      "Epoch 3780/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0660 - acc: 0.9746 - val_loss: 0.2196 - val_acc: 0.9432\n",
      "Epoch 3781/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0463 - acc: 0.9782 - val_loss: 0.1499 - val_acc: 0.9817\n",
      "Epoch 3782/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0397 - acc: 0.9837 - val_loss: 0.1814 - val_acc: 0.9655\n",
      "Epoch 3783/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0537 - acc: 0.9766 - val_loss: 0.1495 - val_acc: 0.9675\n",
      "Epoch 3784/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0514 - acc: 0.9761 - val_loss: 0.1657 - val_acc: 0.9635\n",
      "Epoch 3785/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0467 - acc: 0.9782 - val_loss: 0.1352 - val_acc: 0.9797\n",
      "Epoch 3786/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0365 - acc: 0.9873 - val_loss: 0.1687 - val_acc: 0.9635\n",
      "Epoch 3787/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0429 - acc: 0.9817 - val_loss: 0.1609 - val_acc: 0.9736\n",
      "Epoch 3788/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0436 - acc: 0.9868 - val_loss: 0.1507 - val_acc: 0.9696\n",
      "Epoch 3789/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0672 - acc: 0.9700 - val_loss: 0.1507 - val_acc: 0.9797\n",
      "Epoch 3790/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0260 - acc: 0.9934 - val_loss: 0.1398 - val_acc: 0.9817\n",
      "Epoch 3791/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0396 - acc: 0.9837 - val_loss: 0.2406 - val_acc: 0.9432\n",
      "Epoch 3792/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0602 - acc: 0.9787 - val_loss: 0.2510 - val_acc: 0.9351\n",
      "Epoch 3793/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0395 - acc: 0.9863 - val_loss: 0.2347 - val_acc: 0.9473\n",
      "Epoch 3794/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0875 - acc: 0.9685 - val_loss: 0.1521 - val_acc: 0.9736\n",
      "Epoch 3795/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0348 - acc: 0.9868 - val_loss: 0.1684 - val_acc: 0.9675\n",
      "Epoch 3796/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0301 - acc: 0.9919 - val_loss: 0.1545 - val_acc: 0.9675\n",
      "Epoch 3797/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0414 - acc: 0.9807 - val_loss: 0.1760 - val_acc: 0.9655\n",
      "Epoch 3798/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0367 - acc: 0.9878 - val_loss: 0.1411 - val_acc: 0.9757\n",
      "Epoch 3799/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0421 - acc: 0.9812 - val_loss: 0.1832 - val_acc: 0.9554\n",
      "Epoch 3800/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0528 - acc: 0.9761 - val_loss: 0.2866 - val_acc: 0.9310\n",
      "Epoch 3801/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0606 - acc: 0.9716 - val_loss: 0.2454 - val_acc: 0.9412\n",
      "Epoch 3802/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0486 - acc: 0.9807 - val_loss: 0.1700 - val_acc: 0.9675\n",
      "Epoch 3803/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0469 - acc: 0.9792 - val_loss: 0.1563 - val_acc: 0.9655\n",
      "Epoch 3804/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0442 - acc: 0.9848 - val_loss: 0.1443 - val_acc: 0.9797\n",
      "Epoch 3805/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0356 - acc: 0.9878 - val_loss: 0.1749 - val_acc: 0.9594\n",
      "Epoch 3806/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0336 - acc: 0.9878 - val_loss: 0.1448 - val_acc: 0.9757\n",
      "Epoch 3807/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0370 - acc: 0.9868 - val_loss: 0.1849 - val_acc: 0.9554\n",
      "Epoch 3808/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0576 - acc: 0.9741 - val_loss: 0.1979 - val_acc: 0.9493\n",
      "Epoch 3809/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0552 - acc: 0.9741 - val_loss: 0.1541 - val_acc: 0.9797\n",
      "Epoch 3810/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0417 - acc: 0.9837 - val_loss: 0.1658 - val_acc: 0.9716\n",
      "Epoch 3811/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0348 - acc: 0.9868 - val_loss: 0.1627 - val_acc: 0.9675\n",
      "Epoch 3812/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0355 - acc: 0.9878 - val_loss: 0.1419 - val_acc: 0.9777\n",
      "Epoch 3813/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0373 - acc: 0.9837 - val_loss: 0.1619 - val_acc: 0.9675\n",
      "Epoch 3814/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0435 - acc: 0.9797 - val_loss: 0.2062 - val_acc: 0.9513\n",
      "Epoch 3815/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0368 - acc: 0.9858 - val_loss: 0.1481 - val_acc: 0.9757\n",
      "Epoch 3816/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0337 - acc: 0.9853 - val_loss: 0.1426 - val_acc: 0.9777\n",
      "Epoch 3817/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0429 - acc: 0.9822 - val_loss: 0.1802 - val_acc: 0.9574\n",
      "Epoch 3818/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0831 - acc: 0.960 - 0s - loss: 0.0479 - acc: 0.9782 - val_loss: 0.1637 - val_acc: 0.9675\n",
      "Epoch 3819/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0513 - acc: 0.9802 - val_loss: 0.1512 - val_acc: 0.9757\n",
      "Epoch 3820/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0493 - acc: 0.9761 - val_loss: 0.2008 - val_acc: 0.9493\n",
      "Epoch 3821/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0368 - acc: 0.9832 - val_loss: 0.2040 - val_acc: 0.9493\n",
      "Epoch 3822/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0536 - acc: 0.9766 - val_loss: 0.1969 - val_acc: 0.9513\n",
      "Epoch 3823/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0429 - acc: 0.9863 - val_loss: 0.1513 - val_acc: 0.9757\n",
      "Epoch 3824/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0588 - acc: 0.9787 - val_loss: 0.1578 - val_acc: 0.9716\n",
      "Epoch 3825/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0467 - acc: 0.9807 - val_loss: 0.1758 - val_acc: 0.9615\n",
      "Epoch 3826/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0397 - acc: 0.9832 - val_loss: 0.1583 - val_acc: 0.9736\n",
      "Epoch 3827/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0298 - acc: 0.9898 - val_loss: 0.1657 - val_acc: 0.9675\n",
      "Epoch 3828/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0343 - acc: 0.9883 - val_loss: 0.1932 - val_acc: 0.9615\n",
      "Epoch 3829/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9675 - val_loss: 0.1483 - val_acc: 0.9777\n",
      "Epoch 3830/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0506 - acc: 0.9726 - val_loss: 0.1914 - val_acc: 0.9452\n",
      "Epoch 3831/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0379 - acc: 0.9868 - val_loss: 0.1744 - val_acc: 0.9615\n",
      "Epoch 3832/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0319 - acc: 0.9878 - val_loss: 0.1567 - val_acc: 0.9696\n",
      "Epoch 3833/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0661 - acc: 0.9716 - val_loss: 0.1517 - val_acc: 0.9777\n",
      "Epoch 3834/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0398 - acc: 0.9853 - val_loss: 0.1499 - val_acc: 0.9736\n",
      "Epoch 3835/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0717 - acc: 0.9670 - val_loss: 0.1573 - val_acc: 0.9817\n",
      "Epoch 3836/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0546 - acc: 0.9761 - val_loss: 0.2591 - val_acc: 0.9249\n",
      "Epoch 3837/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0480 - acc: 0.9827 - val_loss: 0.1558 - val_acc: 0.9696\n",
      "Epoch 3838/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0387 - acc: 0.9837 - val_loss: 0.1388 - val_acc: 0.9797\n",
      "Epoch 3839/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0397 - acc: 0.9848 - val_loss: 0.2149 - val_acc: 0.9412\n",
      "Epoch 3840/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0389 - acc: 0.9863 - val_loss: 0.2350 - val_acc: 0.9371\n",
      "Epoch 3841/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0514 - acc: 0.9812 - val_loss: 0.1451 - val_acc: 0.9838\n",
      "Epoch 3842/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0324 - acc: 0.9883 - val_loss: 0.2133 - val_acc: 0.9412\n",
      "Epoch 3843/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0534 - acc: 0.9766 - val_loss: 0.1425 - val_acc: 0.9838\n",
      "Epoch 3844/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0594 - acc: 0.9726 - val_loss: 0.1561 - val_acc: 0.9797\n",
      "Epoch 3845/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0367 - acc: 0.9858 - val_loss: 0.1512 - val_acc: 0.9817\n",
      "Epoch 3846/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0373 - acc: 0.9883 - val_loss: 0.1628 - val_acc: 0.9675\n",
      "Epoch 3847/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0429 - acc: 0.9812 - val_loss: 0.2717 - val_acc: 0.9290\n",
      "Epoch 3848/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0381 - acc: 0.9843 - val_loss: 0.2659 - val_acc: 0.9351\n",
      "Epoch 3849/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0463 - acc: 0.9812 - val_loss: 0.2733 - val_acc: 0.9391\n",
      "Epoch 3850/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0453 - acc: 0.9802 - val_loss: 0.1834 - val_acc: 0.9594\n",
      "Epoch 3851/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0296 - acc: 0.9924 - val_loss: 0.1683 - val_acc: 0.9594\n",
      "Epoch 3852/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0504 - acc: 0.976 - 0s - loss: 0.0335 - acc: 0.9898 - val_loss: 0.1617 - val_acc: 0.9675\n",
      "Epoch 3853/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0474 - acc: 0.976 - 0s - loss: 0.0598 - acc: 0.9716 - val_loss: 0.1884 - val_acc: 0.9533\n",
      "Epoch 3854/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0404 - acc: 0.9853 - val_loss: 0.3519 - val_acc: 0.9229\n",
      "Epoch 3855/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0665 - acc: 0.9731 - val_loss: 0.1491 - val_acc: 0.9797\n",
      "Epoch 3856/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0271 - acc: 0.9919 - val_loss: 0.1517 - val_acc: 0.9757\n",
      "Epoch 3857/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0421 - acc: 0.9832 - val_loss: 0.1569 - val_acc: 0.9696\n",
      "Epoch 3858/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0263 - acc: 0.9924 - val_loss: 0.1425 - val_acc: 0.9777\n",
      "Epoch 3859/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0409 - acc: 0.9822 - val_loss: 0.1820 - val_acc: 0.9554\n",
      "Epoch 3860/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0356 - acc: 0.9853 - val_loss: 0.1385 - val_acc: 0.9838\n",
      "Epoch 3861/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0456 - acc: 0.9832 - val_loss: 0.2144 - val_acc: 0.9493\n",
      "Epoch 3862/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0456 - acc: 0.9858 - val_loss: 0.1643 - val_acc: 0.9675\n",
      "Epoch 3863/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0277 - acc: 0.9898 - val_loss: 0.1579 - val_acc: 0.9696\n",
      "Epoch 3864/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0299 - acc: 0.9893 - val_loss: 0.1421 - val_acc: 0.9838\n",
      "Epoch 3865/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0384 - acc: 0.9848 - val_loss: 0.1541 - val_acc: 0.9716\n",
      "Epoch 3866/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0360 - acc: 0.9853 - val_loss: 0.1791 - val_acc: 0.9615\n",
      "Epoch 3867/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1002 - acc: 0.9655 - val_loss: 0.2889 - val_acc: 0.9310\n",
      "Epoch 3868/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0906 - acc: 0.9695 - val_loss: 0.1338 - val_acc: 0.9817\n",
      "Epoch 3869/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0436 - acc: 0.9848 - val_loss: 0.1453 - val_acc: 0.9817\n",
      "Epoch 3870/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0289 - acc: 0.9904 - val_loss: 0.1748 - val_acc: 0.9675\n",
      "Epoch 3871/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0345 - acc: 0.9848 - val_loss: 0.1937 - val_acc: 0.9594\n",
      "Epoch 3872/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0336 - acc: 0.9873 - val_loss: 0.1436 - val_acc: 0.9838\n",
      "Epoch 3873/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0380 - acc: 0.9843 - val_loss: 0.1683 - val_acc: 0.9675\n",
      "Epoch 3874/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0346 - acc: 0.9868 - val_loss: 0.2146 - val_acc: 0.9391\n",
      "Epoch 3875/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0388 - acc: 0.9853 - val_loss: 0.1774 - val_acc: 0.9594\n",
      "Epoch 3876/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0368 - acc: 0.9873 - val_loss: 0.1744 - val_acc: 0.9655\n",
      "Epoch 3877/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0325 - acc: 0.9883 - val_loss: 0.1401 - val_acc: 0.9817\n",
      "Epoch 3878/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0545 - acc: 0.9766 - val_loss: 0.1444 - val_acc: 0.9817\n",
      "Epoch 3879/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0308 - acc: 0.9888 - val_loss: 0.1634 - val_acc: 0.9696\n",
      "Epoch 3880/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0425 - acc: 0.9822 - val_loss: 0.1424 - val_acc: 0.9777\n",
      "Epoch 3881/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0447 - acc: 0.9817 - val_loss: 0.1570 - val_acc: 0.9696\n",
      "Epoch 3882/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0345 - acc: 0.9878 - val_loss: 0.1382 - val_acc: 0.9736\n",
      "Epoch 3883/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0518 - acc: 0.9756 - val_loss: 0.1518 - val_acc: 0.9716\n",
      "Epoch 3884/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0418 - acc: 0.9868 - val_loss: 0.2774 - val_acc: 0.9351\n",
      "Epoch 3885/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0734 - acc: 0.9695 - val_loss: 0.1445 - val_acc: 0.9777\n",
      "Epoch 3886/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0499 - acc: 0.9807 - val_loss: 0.1462 - val_acc: 0.9797\n",
      "Epoch 3887/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0374 - acc: 0.9863 - val_loss: 0.1847 - val_acc: 0.9635\n",
      "Epoch 3888/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0410 - acc: 0.9848 - val_loss: 0.2138 - val_acc: 0.9493\n",
      "Epoch 3889/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0300 - acc: 0.9914 - val_loss: 0.1957 - val_acc: 0.9473\n",
      "Epoch 3890/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0466 - acc: 0.9822 - val_loss: 0.1274 - val_acc: 0.9838\n",
      "Epoch 3891/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0271 - acc: 0.9898 - val_loss: 0.1341 - val_acc: 0.9797\n",
      "Epoch 3892/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0339 - acc: 0.9873 - val_loss: 0.1301 - val_acc: 0.9777\n",
      "Epoch 3893/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0554 - acc: 0.9777 - val_loss: 0.1090 - val_acc: 0.9777\n",
      "Epoch 3894/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0265 - acc: 0.9904 - val_loss: 0.2545 - val_acc: 0.9351\n",
      "Epoch 3895/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0522 - acc: 0.9756 - val_loss: 0.1645 - val_acc: 0.9594\n",
      "Epoch 3896/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0494 - acc: 0.9782 - val_loss: 0.1781 - val_acc: 0.9412\n",
      "Epoch 3897/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0343 - acc: 0.9873 - val_loss: 0.1206 - val_acc: 0.9838\n",
      "Epoch 3898/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0400 - acc: 0.9853 - val_loss: 0.1364 - val_acc: 0.9777\n",
      "Epoch 3899/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0298 - acc: 0.9904 - val_loss: 0.2870 - val_acc: 0.9371\n",
      "Epoch 3900/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0394 - acc: 0.9853 - val_loss: 0.1418 - val_acc: 0.9716\n",
      "Epoch 3901/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0378 - acc: 0.9858 - val_loss: 0.1610 - val_acc: 0.9696\n",
      "Epoch 3902/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0354 - acc: 0.9873 - val_loss: 0.1361 - val_acc: 0.9817\n",
      "Epoch 3903/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0345 - acc: 0.9868 - val_loss: 0.1229 - val_acc: 0.9777\n",
      "Epoch 3904/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0406 - acc: 0.9817 - val_loss: 0.1873 - val_acc: 0.9473\n",
      "Epoch 3905/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0375 - acc: 0.9863 - val_loss: 0.1208 - val_acc: 0.9797\n",
      "Epoch 3906/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0428 - acc: 0.9782 - val_loss: 0.1487 - val_acc: 0.9696\n",
      "Epoch 3907/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0448 - acc: 0.9832 - val_loss: 0.1213 - val_acc: 0.9858\n",
      "Epoch 3908/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0473 - acc: 0.9817 - val_loss: 0.1459 - val_acc: 0.9696\n",
      "Epoch 3909/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0326 - acc: 0.9873 - val_loss: 0.1656 - val_acc: 0.9696\n",
      "Epoch 3910/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0572 - acc: 0.9756 - val_loss: 0.1806 - val_acc: 0.9554\n",
      "Epoch 3911/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0440 - acc: 0.9792 - val_loss: 0.2366 - val_acc: 0.9371\n",
      "Epoch 3912/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0507 - acc: 0.9792 - val_loss: 0.2391 - val_acc: 0.9371\n",
      "Epoch 3913/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0588 - acc: 0.9711 - val_loss: 0.1616 - val_acc: 0.9675\n",
      "Epoch 3914/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0435 - acc: 0.9812 - val_loss: 0.1538 - val_acc: 0.9736\n",
      "Epoch 3915/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0439 - acc: 0.9827 - val_loss: 0.1403 - val_acc: 0.9817\n",
      "Epoch 3916/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0346 - acc: 0.9858 - val_loss: 0.1456 - val_acc: 0.9838\n",
      "Epoch 3917/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0311 - acc: 0.9888 - val_loss: 0.1372 - val_acc: 0.9757\n",
      "Epoch 3918/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0292 - acc: 0.9914 - val_loss: 0.2652 - val_acc: 0.9331\n",
      "Epoch 3919/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0618 - acc: 0.9716 - val_loss: 0.2492 - val_acc: 0.9391\n",
      "Epoch 3920/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0302 - acc: 0.9919 - val_loss: 0.1483 - val_acc: 0.9757\n",
      "Epoch 3921/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0257 - acc: 0.9929 - val_loss: 0.2079 - val_acc: 0.9493\n",
      "Epoch 3922/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0402 - acc: 0.9817 - val_loss: 0.1520 - val_acc: 0.9696\n",
      "Epoch 3923/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0399 - acc: 0.9848 - val_loss: 0.1306 - val_acc: 0.9817\n",
      "Epoch 3924/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0401 - acc: 0.9827 - val_loss: 0.1329 - val_acc: 0.9777\n",
      "Epoch 3925/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0365 - acc: 0.9822 - val_loss: 0.1435 - val_acc: 0.9817\n",
      "Epoch 3926/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0399 - acc: 0.9822 - val_loss: 0.1407 - val_acc: 0.9716\n",
      "Epoch 3927/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0443 - acc: 0.9827 - val_loss: 0.1363 - val_acc: 0.9817\n",
      "Epoch 3928/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0351 - acc: 0.9883 - val_loss: 0.1323 - val_acc: 0.9777\n",
      "Epoch 3929/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0384 - acc: 0.9837 - val_loss: 0.1376 - val_acc: 0.9838\n",
      "Epoch 3930/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0368 - acc: 0.9853 - val_loss: 0.1688 - val_acc: 0.9777\n",
      "Epoch 3931/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0557 - acc: 0.9751 - val_loss: 0.1938 - val_acc: 0.9513\n",
      "Epoch 3932/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0495 - acc: 0.9771 - val_loss: 0.1605 - val_acc: 0.9716\n",
      "Epoch 3933/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0529 - acc: 0.9802 - val_loss: 0.1910 - val_acc: 0.9594\n",
      "Epoch 3934/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0558 - acc: 0.9741 - val_loss: 0.1430 - val_acc: 0.9817\n",
      "Epoch 3935/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0533 - acc: 0.9787 - val_loss: 0.1781 - val_acc: 0.9696\n",
      "Epoch 3936/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0513 - acc: 0.9766 - val_loss: 0.1466 - val_acc: 0.9777\n",
      "Epoch 3937/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0378 - acc: 0.9853 - val_loss: 0.1544 - val_acc: 0.9696\n",
      "Epoch 3938/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0319 - acc: 0.9898 - val_loss: 0.1718 - val_acc: 0.9533\n",
      "Epoch 3939/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0366 - acc: 0.9863 - val_loss: 0.2143 - val_acc: 0.9513\n",
      "Epoch 3940/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0638 - acc: 0.9782 - val_loss: 0.1884 - val_acc: 0.9574\n",
      "Epoch 3941/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0432 - acc: 0.9832 - val_loss: 0.1412 - val_acc: 0.9817\n",
      "Epoch 3942/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0426 - acc: 0.9832 - val_loss: 0.1363 - val_acc: 0.9817\n",
      "Epoch 3943/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0275 - acc: 0.9914 - val_loss: 0.2502 - val_acc: 0.9351\n",
      "Epoch 3944/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0580 - acc: 0.9766 - val_loss: 0.1538 - val_acc: 0.9777\n",
      "Epoch 3945/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0345 - acc: 0.9837 - val_loss: 0.1910 - val_acc: 0.9533\n",
      "Epoch 3946/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0411 - acc: 0.9797 - val_loss: 0.1468 - val_acc: 0.9716\n",
      "Epoch 3947/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0409 - acc: 0.9837 - val_loss: 0.1541 - val_acc: 0.9777\n",
      "Epoch 3948/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0484 - acc: 0.9797 - val_loss: 0.1465 - val_acc: 0.9838\n",
      "Epoch 3949/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0294 - acc: 0.9904 - val_loss: 0.1446 - val_acc: 0.9777\n",
      "Epoch 3950/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0306 - acc: 0.9904 - val_loss: 0.1659 - val_acc: 0.9615\n",
      "Epoch 3951/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0379 - acc: 0.9858 - val_loss: 0.1536 - val_acc: 0.9655\n",
      "Epoch 3952/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0384 - acc: 0.9848 - val_loss: 0.1310 - val_acc: 0.9797\n",
      "Epoch 3953/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0397 - acc: 0.9837 - val_loss: 0.1376 - val_acc: 0.9777\n",
      "Epoch 3954/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0463 - acc: 0.9777 - val_loss: 0.1437 - val_acc: 0.9838\n",
      "Epoch 3955/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0419 - acc: 0.9832 - val_loss: 0.1427 - val_acc: 0.9817\n",
      "Epoch 3956/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0300 - acc: 0.9878 - val_loss: 0.1602 - val_acc: 0.9675\n",
      "Epoch 3957/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0631 - acc: 0.9685 - val_loss: 0.1491 - val_acc: 0.9797\n",
      "Epoch 3958/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0483 - acc: 0.9817 - val_loss: 0.2357 - val_acc: 0.9473\n",
      "Epoch 3959/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0548 - acc: 0.9792 - val_loss: 0.1679 - val_acc: 0.9594\n",
      "Epoch 3960/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0350 - acc: 0.9878 - val_loss: 0.1493 - val_acc: 0.9736\n",
      "Epoch 3961/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0436 - acc: 0.9802 - val_loss: 0.1426 - val_acc: 0.9817\n",
      "Epoch 3962/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0284 - acc: 0.9898 - val_loss: 0.1898 - val_acc: 0.9615\n",
      "Epoch 3963/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0493 - acc: 0.9777 - val_loss: 0.1528 - val_acc: 0.9696\n",
      "Epoch 3964/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0578 - acc: 0.9751 - val_loss: 0.1533 - val_acc: 0.9696\n",
      "Epoch 3965/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0469 - acc: 0.9848 - val_loss: 0.2251 - val_acc: 0.9412\n",
      "Epoch 3966/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0536 - acc: 0.9777 - val_loss: 0.1719 - val_acc: 0.9655\n",
      "Epoch 3967/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0310 - acc: 0.9878 - val_loss: 0.1410 - val_acc: 0.9777\n",
      "Epoch 3968/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0368 - acc: 0.9863 - val_loss: 0.1412 - val_acc: 0.9777\n",
      "Epoch 3969/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0355 - acc: 0.9878 - val_loss: 0.1751 - val_acc: 0.9554\n",
      "Epoch 3970/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0436 - acc: 0.9817 - val_loss: 0.1667 - val_acc: 0.9655\n",
      "Epoch 3971/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0410 - acc: 0.9812 - val_loss: 0.1357 - val_acc: 0.9777\n",
      "Epoch 3972/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0548 - acc: 0.9807 - val_loss: 0.2634 - val_acc: 0.9331\n",
      "Epoch 3973/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0336 - acc: 0.9904 - val_loss: 0.1655 - val_acc: 0.9655\n",
      "Epoch 3974/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0400 - acc: 0.9853 - val_loss: 0.1736 - val_acc: 0.9533\n",
      "Epoch 3975/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0519 - acc: 0.9787 - val_loss: 0.2340 - val_acc: 0.9432\n",
      "Epoch 3976/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0386 - acc: 0.9802 - val_loss: 0.1378 - val_acc: 0.9817\n",
      "Epoch 3977/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0370 - acc: 0.9873 - val_loss: 0.1355 - val_acc: 0.9858\n",
      "Epoch 3978/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0248 - acc: 0.9944 - val_loss: 0.1322 - val_acc: 0.9797\n",
      "Epoch 3979/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0637 - acc: 0.9695 - val_loss: 0.1739 - val_acc: 0.9675\n",
      "Epoch 3980/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0503 - acc: 0.9832 - val_loss: 0.1455 - val_acc: 0.9777\n",
      "Epoch 3981/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0254 - acc: 0.9909 - val_loss: 0.1299 - val_acc: 0.9858\n",
      "Epoch 3982/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0494 - acc: 0.9817 - val_loss: 0.1565 - val_acc: 0.9635\n",
      "Epoch 3983/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0503 - acc: 0.9761 - val_loss: 0.1888 - val_acc: 0.9513\n",
      "Epoch 3984/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0446 - acc: 0.9817 - val_loss: 0.1971 - val_acc: 0.9554\n",
      "Epoch 3985/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0366 - acc: 0.9878 - val_loss: 0.2195 - val_acc: 0.9391\n",
      "Epoch 3986/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0342 - acc: 0.9873 - val_loss: 0.1631 - val_acc: 0.9655\n",
      "Epoch 3987/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0273 - acc: 0.9919 - val_loss: 0.1627 - val_acc: 0.9615\n",
      "Epoch 3988/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0403 - acc: 0.9832 - val_loss: 0.1339 - val_acc: 0.9736\n",
      "Epoch 3989/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0412 - acc: 0.9812 - val_loss: 0.1427 - val_acc: 0.9797\n",
      "Epoch 3990/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0294 - acc: 0.9914 - val_loss: 0.1253 - val_acc: 0.9858\n",
      "Epoch 3991/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0322 - acc: 0.9873 - val_loss: 0.1273 - val_acc: 0.9817\n",
      "Epoch 3992/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0376 - acc: 0.9822 - val_loss: 0.1487 - val_acc: 0.9696\n",
      "Epoch 3993/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0814 - acc: 0.9675 - val_loss: 0.1602 - val_acc: 0.9675\n",
      "Epoch 3994/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0363 - acc: 0.9848 - val_loss: 0.1431 - val_acc: 0.9797\n",
      "Epoch 3995/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0323 - acc: 0.9878 - val_loss: 0.3962 - val_acc: 0.9249\n",
      "Epoch 3996/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0422 - acc: 0.9858 - val_loss: 0.1325 - val_acc: 0.9838\n",
      "Epoch 3997/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0226 - acc: 0.9954 - val_loss: 0.1282 - val_acc: 0.9838\n",
      "Epoch 3998/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0394 - acc: 0.9827 - val_loss: 0.1847 - val_acc: 0.9554\n",
      "Epoch 3999/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0633 - acc: 0.9705 - val_loss: 0.1406 - val_acc: 0.9757\n",
      "Epoch 4000/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0249 - acc: 0.9934 - val_loss: 0.1274 - val_acc: 0.9858\n",
      "Epoch 4001/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0274 - acc: 0.9914 - val_loss: 0.1531 - val_acc: 0.9716\n",
      "Epoch 4002/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0358 - acc: 0.9858 - val_loss: 0.1365 - val_acc: 0.9777\n",
      "Epoch 4003/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0578 - acc: 0.9761 - val_loss: 0.2398 - val_acc: 0.9371\n",
      "Epoch 4004/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0513 - acc: 0.9771 - val_loss: 0.1481 - val_acc: 0.9736\n",
      "Epoch 4005/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0294 - acc: 0.9898 - val_loss: 0.1350 - val_acc: 0.9817\n",
      "Epoch 4006/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0400 - acc: 0.9843 - val_loss: 0.1825 - val_acc: 0.9574\n",
      "Epoch 4007/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0641 - acc: 0.9705 - val_loss: 0.1263 - val_acc: 0.9736\n",
      "Epoch 4008/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0304 - acc: 0.9893 - val_loss: 0.1341 - val_acc: 0.9777\n",
      "Epoch 4009/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0309 - acc: 0.9893 - val_loss: 0.1724 - val_acc: 0.9533\n",
      "Epoch 4010/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0474 - acc: 0.9777 - val_loss: 0.1742 - val_acc: 0.9574\n",
      "Epoch 4011/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0413 - acc: 0.9807 - val_loss: 0.1365 - val_acc: 0.9838\n",
      "Epoch 4012/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0289 - acc: 0.9898 - val_loss: 0.1408 - val_acc: 0.9757\n",
      "Epoch 4013/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0395 - acc: 0.9832 - val_loss: 0.1225 - val_acc: 0.9858\n",
      "Epoch 4014/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0294 - acc: 0.9883 - val_loss: 0.1383 - val_acc: 0.9716\n",
      "Epoch 4015/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0544 - acc: 0.9766 - val_loss: 0.1570 - val_acc: 0.9696\n",
      "Epoch 4016/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0140 - acc: 1.000 - 0s - loss: 0.0269 - acc: 0.9909 - val_loss: 0.2851 - val_acc: 0.9371\n",
      "Epoch 4017/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0519 - acc: 0.9802 - val_loss: 0.1407 - val_acc: 0.9757\n",
      "Epoch 4018/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0531 - acc: 0.9761 - val_loss: 0.1899 - val_acc: 0.9493\n",
      "Epoch 4019/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0464 - acc: 0.9797 - val_loss: 0.2274 - val_acc: 0.9493\n",
      "Epoch 4020/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0325 - acc: 0.9878 - val_loss: 0.1221 - val_acc: 0.9858\n",
      "Epoch 4021/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0434 - acc: 0.9797 - val_loss: 0.1322 - val_acc: 0.9716\n",
      "Epoch 4022/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0312 - acc: 0.9883 - val_loss: 0.1412 - val_acc: 0.9675\n",
      "Epoch 4023/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0286 - acc: 0.9888 - val_loss: 0.1458 - val_acc: 0.9736\n",
      "Epoch 4024/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0439 - acc: 0.9812 - val_loss: 0.2010 - val_acc: 0.9574\n",
      "Epoch 4025/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0402 - acc: 0.9827 - val_loss: 0.1412 - val_acc: 0.9716\n",
      "Epoch 4026/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0294 - acc: 0.9914 - val_loss: 0.1500 - val_acc: 0.9615\n",
      "Epoch 4027/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0390 - acc: 0.9827 - val_loss: 0.2414 - val_acc: 0.9493\n",
      "Epoch 4028/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0662 - acc: 0.9705 - val_loss: 0.1445 - val_acc: 0.9736\n",
      "Epoch 4029/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0704 - acc: 0.9721 - val_loss: 0.1305 - val_acc: 0.9797\n",
      "Epoch 4030/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0274 - acc: 0.9914 - val_loss: 0.1488 - val_acc: 0.9716\n",
      "Epoch 4031/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0349 - acc: 0.9832 - val_loss: 0.1531 - val_acc: 0.9675\n",
      "Epoch 4032/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0429 - acc: 0.9832 - val_loss: 0.1364 - val_acc: 0.9817\n",
      "Epoch 4033/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0609 - acc: 0.9766 - val_loss: 0.1419 - val_acc: 0.9757\n",
      "Epoch 4034/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0243 - acc: 0.9924 - val_loss: 0.2440 - val_acc: 0.9391\n",
      "Epoch 4035/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0633 - acc: 0.9721 - val_loss: 0.1645 - val_acc: 0.9635\n",
      "Epoch 4036/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0374 - acc: 0.9848 - val_loss: 0.1262 - val_acc: 0.9878\n",
      "Epoch 4037/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0216 - acc: 0.9944 - val_loss: 0.1251 - val_acc: 0.9858\n",
      "Epoch 4038/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0444 - acc: 0.9802 - val_loss: 0.1860 - val_acc: 0.9533\n",
      "Epoch 4039/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0539 - acc: 0.9761 - val_loss: 0.1447 - val_acc: 0.9716\n",
      "Epoch 4040/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0272 - acc: 0.9904 - val_loss: 0.1199 - val_acc: 0.9777\n",
      "Epoch 4041/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0297 - acc: 0.9878 - val_loss: 0.2629 - val_acc: 0.9310\n",
      "Epoch 4042/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0347 - acc: 0.9888 - val_loss: 0.1301 - val_acc: 0.9838\n",
      "Epoch 4043/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0216 - acc: 0.9949 - val_loss: 0.1215 - val_acc: 0.9777\n",
      "Epoch 4044/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0473 - acc: 0.9802 - val_loss: 0.1235 - val_acc: 0.9797\n",
      "Epoch 4045/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0592 - acc: 0.9741 - val_loss: 0.1410 - val_acc: 0.9777\n",
      "Epoch 4046/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0358 - acc: 0.9863 - val_loss: 0.1145 - val_acc: 0.9838\n",
      "Epoch 4047/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0290 - acc: 0.9904 - val_loss: 0.1278 - val_acc: 0.9817\n",
      "Epoch 4048/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0327 - acc: 0.9858 - val_loss: 0.1176 - val_acc: 0.9817\n",
      "Epoch 4049/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0524 - acc: 0.9751 - val_loss: 0.1357 - val_acc: 0.9736\n",
      "Epoch 4050/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0344 - acc: 0.9888 - val_loss: 0.1118 - val_acc: 0.9899\n",
      "Epoch 4051/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0259 - acc: 0.9909 - val_loss: 0.1026 - val_acc: 0.9777\n",
      "Epoch 4052/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0268 - acc: 0.9898 - val_loss: 0.1637 - val_acc: 0.9655\n",
      "Epoch 4053/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0303 - acc: 0.9888 - val_loss: 0.1104 - val_acc: 0.9838\n",
      "Epoch 4054/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0222 - acc: 0.9939 - val_loss: 0.1164 - val_acc: 0.9878\n",
      "Epoch 4055/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0402 - acc: 0.9853 - val_loss: 0.2445 - val_acc: 0.9473\n",
      "Epoch 4056/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1033 - acc: 0.9619 - val_loss: 0.1584 - val_acc: 0.9675\n",
      "Epoch 4057/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0485 - acc: 0.9807 - val_loss: 0.1553 - val_acc: 0.9696\n",
      "Epoch 4058/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0549 - acc: 0.9756 - val_loss: 0.1335 - val_acc: 0.9797\n",
      "Epoch 4059/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0416 - acc: 0.9797 - val_loss: 0.1476 - val_acc: 0.9675\n",
      "Epoch 4060/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0465 - acc: 0.9782 - val_loss: 0.1556 - val_acc: 0.9533\n",
      "Epoch 4061/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0281 - acc: 0.9898 - val_loss: 0.1145 - val_acc: 0.9878\n",
      "Epoch 4062/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0414 - acc: 0.9837 - val_loss: 0.1247 - val_acc: 0.9777\n",
      "Epoch 4063/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0561 - acc: 0.9777 - val_loss: 0.1340 - val_acc: 0.9777\n",
      "Epoch 4064/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0804 - acc: 0.9655 - val_loss: 0.1731 - val_acc: 0.9635\n",
      "Epoch 4065/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0392 - acc: 0.9837 - val_loss: 0.1251 - val_acc: 0.9817\n",
      "Epoch 4066/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0244 - acc: 0.9939 - val_loss: 0.1316 - val_acc: 0.9878\n",
      "Epoch 4067/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0685 - acc: 0.9680 - val_loss: 0.1281 - val_acc: 0.9858\n",
      "Epoch 4068/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0231 - acc: 0.984 - 0s - loss: 0.0241 - acc: 0.9939 - val_loss: 0.1285 - val_acc: 0.9817\n",
      "Epoch 4069/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0295 - acc: 0.9898 - val_loss: 0.1322 - val_acc: 0.9838\n",
      "Epoch 4070/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0358 - acc: 0.9832 - val_loss: 0.1359 - val_acc: 0.9777\n",
      "Epoch 4071/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0405 - acc: 0.9822 - val_loss: 0.1257 - val_acc: 0.9797\n",
      "Epoch 4072/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0495 - acc: 0.9802 - val_loss: 0.1260 - val_acc: 0.9838\n",
      "Epoch 4073/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0253 - acc: 0.9919 - val_loss: 0.1705 - val_acc: 0.9513\n",
      "Epoch 4074/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0265 - acc: 0.9929 - val_loss: 0.1243 - val_acc: 0.9838\n",
      "Epoch 4075/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0364 - acc: 0.9863 - val_loss: 0.1216 - val_acc: 0.9838\n",
      "Epoch 4076/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0329 - acc: 0.9858 - val_loss: 0.1442 - val_acc: 0.9615\n",
      "Epoch 4077/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0399 - acc: 0.9817 - val_loss: 0.1214 - val_acc: 0.9878\n",
      "Epoch 4078/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0571 - acc: 0.9731 - val_loss: 0.1156 - val_acc: 0.97770.968\n",
      "Epoch 4079/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0542 - acc: 0.9807 - val_loss: 0.1337 - val_acc: 0.9777\n",
      "Epoch 4080/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0349 - acc: 0.9873 - val_loss: 0.1135 - val_acc: 0.9838\n",
      "Epoch 4081/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0337 - acc: 0.9868 - val_loss: 0.1379 - val_acc: 0.9757\n",
      "Epoch 4082/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0290 - acc: 0.9888 - val_loss: 0.2195 - val_acc: 0.9412\n",
      "Epoch 4083/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0406 - acc: 0.9817 - val_loss: 0.1116 - val_acc: 0.9878\n",
      "Epoch 4084/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0420 - acc: 0.9853 - val_loss: 0.1241 - val_acc: 0.9858\n",
      "Epoch 4085/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0300 - acc: 0.9904 - val_loss: 0.1265 - val_acc: 0.9838\n",
      "Epoch 4086/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0122 - acc: 1.000 - 0s - loss: 0.0348 - acc: 0.9868 - val_loss: 0.1344 - val_acc: 0.9777\n",
      "Epoch 4087/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0476 - acc: 0.9817 - val_loss: 0.1217 - val_acc: 0.9736\n",
      "Epoch 4088/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0258 - acc: 0.9914 - val_loss: 0.1491 - val_acc: 0.9655\n",
      "Epoch 4089/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0276 - acc: 0.9904 - val_loss: 0.1181 - val_acc: 0.9797\n",
      "Epoch 4090/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0566 - acc: 0.9736 - val_loss: 0.1541 - val_acc: 0.9716\n",
      "Epoch 4091/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0350 - acc: 0.9843 - val_loss: 0.1526 - val_acc: 0.9675\n",
      "Epoch 4092/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0267 - acc: 0.9914 - val_loss: 0.1269 - val_acc: 0.9878\n",
      "Epoch 4093/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0164 - acc: 1.000 - 0s - loss: 0.0219 - acc: 0.9944 - val_loss: 0.1414 - val_acc: 0.9777\n",
      "Epoch 4094/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0302 - acc: 0.9909 - val_loss: 0.1356 - val_acc: 0.9817\n",
      "Epoch 4095/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0369 - acc: 0.9858 - val_loss: 0.1372 - val_acc: 0.9797\n",
      "Epoch 4096/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0489 - acc: 0.9771 - val_loss: 0.1278 - val_acc: 0.9878\n",
      "Epoch 4097/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0282 - acc: 0.9914 - val_loss: 0.1274 - val_acc: 0.9838\n",
      "Epoch 4098/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0421 - acc: 0.9812 - val_loss: 0.1328 - val_acc: 0.9817\n",
      "Epoch 4099/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0427 - acc: 0.9797 - val_loss: 0.1509 - val_acc: 0.9696\n",
      "Epoch 4100/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0324 - acc: 0.9883 - val_loss: 0.1502 - val_acc: 0.9716\n",
      "Epoch 4101/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0440 - acc: 0.9822 - val_loss: 0.1316 - val_acc: 0.9817\n",
      "Epoch 4102/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0289 - acc: 0.9904 - val_loss: 0.1293 - val_acc: 0.9858\n",
      "Epoch 4103/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0282 - acc: 0.9904 - val_loss: 0.2465 - val_acc: 0.9493\n",
      "Epoch 4104/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0557 - acc: 0.9787 - val_loss: 0.1317 - val_acc: 0.9797\n",
      "Epoch 4105/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0378 - acc: 0.9878 - val_loss: 0.1722 - val_acc: 0.9574\n",
      "Epoch 4106/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0270 - acc: 0.9878 - val_loss: 0.1360 - val_acc: 0.9777\n",
      "Epoch 4107/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0562 - acc: 0.977 - 0s - loss: 0.0477 - acc: 0.9812 - val_loss: 0.1362 - val_acc: 0.9817\n",
      "Epoch 4108/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0309 - acc: 0.9868 - val_loss: 0.1292 - val_acc: 0.9858\n",
      "Epoch 4109/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0392 - acc: 0.9868 - val_loss: 0.1371 - val_acc: 0.9838\n",
      "Epoch 4110/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0373 - acc: 0.9873 - val_loss: 0.1309 - val_acc: 0.9817\n",
      "Epoch 4111/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0276 - acc: 0.9893 - val_loss: 0.1410 - val_acc: 0.9797\n",
      "Epoch 4112/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0223 - acc: 0.9934 - val_loss: 0.2974 - val_acc: 0.9391\n",
      "Epoch 4113/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0439 - acc: 0.9792 - val_loss: 0.2185 - val_acc: 0.9391\n",
      "Epoch 4114/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0440 - acc: 0.9787 - val_loss: 0.1551 - val_acc: 0.9675\n",
      "Epoch 4115/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0289 - acc: 0.9888 - val_loss: 0.1479 - val_acc: 0.9594\n",
      "Epoch 4116/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0427 - acc: 0.9802 - val_loss: 0.1395 - val_acc: 0.9736\n",
      "Epoch 4117/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0380 - acc: 0.976 - 0s - loss: 0.0229 - acc: 0.9929 - val_loss: 0.1191 - val_acc: 0.9797\n",
      "Epoch 4118/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0233 - acc: 0.9929 - val_loss: 0.1266 - val_acc: 0.9757\n",
      "Epoch 4119/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0387 - acc: 0.9853 - val_loss: 0.1234 - val_acc: 0.9797\n",
      "Epoch 4120/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0271 - acc: 0.9919 - val_loss: 0.1174 - val_acc: 0.9797\n",
      "Epoch 4121/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0360 - acc: 0.9832 - val_loss: 0.1048 - val_acc: 0.9838\n",
      "Epoch 4122/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0192 - acc: 0.9959 - val_loss: 0.1205 - val_acc: 0.9817\n",
      "Epoch 4123/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0284 - acc: 0.9888 - val_loss: 0.3000 - val_acc: 0.9290\n",
      "Epoch 4124/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0648 - acc: 0.9771 - val_loss: 0.1411 - val_acc: 0.9817\n",
      "Epoch 4125/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0335 - acc: 0.9853 - val_loss: 0.1717 - val_acc: 0.9533\n",
      "Epoch 4126/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0254 - acc: 0.9914 - val_loss: 0.2071 - val_acc: 0.9574\n",
      "Epoch 4127/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0349 - acc: 0.9883 - val_loss: 0.1685 - val_acc: 0.9574\n",
      "Epoch 4128/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0615 - acc: 0.9771 - val_loss: 0.1831 - val_acc: 0.9513\n",
      "Epoch 4129/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0464 - acc: 0.9761 - val_loss: 0.1585 - val_acc: 0.9635\n",
      "Epoch 4130/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0289 - acc: 0.9893 - val_loss: 0.2017 - val_acc: 0.9533\n",
      "Epoch 4131/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0305 - acc: 0.9919 - val_loss: 0.1182 - val_acc: 0.9878\n",
      "Epoch 4132/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0419 - acc: 0.9817 - val_loss: 0.1252 - val_acc: 0.9858\n",
      "Epoch 4133/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0251 - acc: 0.9909 - val_loss: 0.1622 - val_acc: 0.9533\n",
      "Epoch 4134/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0285 - acc: 0.9873 - val_loss: 0.1709 - val_acc: 0.9554\n",
      "Epoch 4135/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0293 - acc: 0.9909 - val_loss: 0.1209 - val_acc: 0.9858\n",
      "Epoch 4136/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0244 - acc: 0.9924 - val_loss: 0.1709 - val_acc: 0.9594\n",
      "Epoch 4137/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0538 - acc: 0.9792 - val_loss: 0.1600 - val_acc: 0.9675\n",
      "Epoch 4138/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0558 - acc: 0.9736 - val_loss: 0.1401 - val_acc: 0.9797\n",
      "Epoch 4139/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0283 - acc: 0.9919 - val_loss: 0.2118 - val_acc: 0.9473\n",
      "Epoch 4140/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0467 - acc: 0.9848 - val_loss: 0.2108 - val_acc: 0.9452\n",
      "Epoch 4141/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0269 - acc: 0.9919 - val_loss: 0.1751 - val_acc: 0.9574\n",
      "Epoch 4142/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0354 - acc: 0.9827 - val_loss: 0.1516 - val_acc: 0.9757\n",
      "Epoch 4143/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0280 - acc: 0.9904 - val_loss: 0.2065 - val_acc: 0.9473\n",
      "Epoch 4144/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0358 - acc: 0.9868 - val_loss: 0.2539 - val_acc: 0.9371\n",
      "Epoch 4145/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0289 - acc: 0.9919 - val_loss: 0.1356 - val_acc: 0.9817\n",
      "Epoch 4146/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0444 - acc: 0.9812 - val_loss: 0.1421 - val_acc: 0.9777\n",
      "Epoch 4147/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0316 - acc: 0.9863 - val_loss: 0.1293 - val_acc: 0.9858\n",
      "Epoch 4148/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0201 - acc: 0.9954 - val_loss: 0.1507 - val_acc: 0.9757\n",
      "Epoch 4149/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0597 - acc: 0.9711 - val_loss: 0.2152 - val_acc: 0.9493\n",
      "Epoch 4150/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0581 - acc: 0.9843 - val_loss: 0.1212 - val_acc: 0.9838\n",
      "Epoch 4151/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0307 - acc: 0.9888 - val_loss: 0.1292 - val_acc: 0.9838\n",
      "Epoch 4152/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0244 - acc: 0.9934 - val_loss: 0.1374 - val_acc: 0.9817\n",
      "Epoch 4153/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0493 - acc: 0.9797 - val_loss: 0.1512 - val_acc: 0.9696\n",
      "Epoch 4154/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0299 - acc: 0.9868 - val_loss: 0.1413 - val_acc: 0.9797\n",
      "Epoch 4155/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0523 - acc: 0.9812 - val_loss: 0.2298 - val_acc: 0.9473\n",
      "Epoch 4156/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0364 - acc: 0.9853 - val_loss: 0.2829 - val_acc: 0.9270\n",
      "Epoch 4157/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0831 - acc: 0.9695 - val_loss: 0.1261 - val_acc: 0.9858\n",
      "Epoch 4158/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0236 - acc: 0.9939 - val_loss: 0.1243 - val_acc: 0.9838\n",
      "Epoch 4159/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0329 - acc: 0.9883 - val_loss: 0.1252 - val_acc: 0.9858\n",
      "Epoch 4160/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0216 - acc: 0.9929 - val_loss: 0.1599 - val_acc: 0.9635\n",
      "Epoch 4161/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0442 - acc: 0.9817 - val_loss: 0.1366 - val_acc: 0.9757\n",
      "Epoch 4162/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0232 - acc: 0.9924 - val_loss: 0.1528 - val_acc: 0.9696\n",
      "Epoch 4163/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0433 - acc: 0.9817 - val_loss: 0.1443 - val_acc: 0.9696\n",
      "Epoch 4164/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0477 - acc: 0.9812 - val_loss: 0.1377 - val_acc: 0.9757\n",
      "Epoch 4165/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0300 - acc: 0.9873 - val_loss: 0.1538 - val_acc: 0.9675\n",
      "Epoch 4166/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0309 - acc: 0.9873 - val_loss: 0.2377 - val_acc: 0.9412\n",
      "Epoch 4167/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0343 - acc: 0.9883 - val_loss: 0.1524 - val_acc: 0.9736\n",
      "Epoch 4168/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0357 - acc: 0.9843 - val_loss: 0.1423 - val_acc: 0.9736\n",
      "Epoch 4169/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0250 - acc: 0.9929 - val_loss: 0.1257 - val_acc: 0.9878\n",
      "Epoch 4170/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0282 - acc: 0.9883 - val_loss: 0.1256 - val_acc: 0.9899\n",
      "Epoch 4171/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0214 - acc: 0.9929 - val_loss: 0.2352 - val_acc: 0.9351\n",
      "Epoch 4172/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0559 - acc: 0.9741 - val_loss: 0.1293 - val_acc: 0.9817\n",
      "Epoch 4173/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0485 - acc: 0.9787 - val_loss: 0.1396 - val_acc: 0.9777\n",
      "Epoch 4174/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0358 - acc: 0.9848 - val_loss: 0.1398 - val_acc: 0.9817\n",
      "Epoch 4175/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0182 - acc: 1.000 - 0s - loss: 0.0220 - acc: 0.9939 - val_loss: 0.1567 - val_acc: 0.9655\n",
      "Epoch 4176/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0418 - acc: 0.9848 - val_loss: 0.1625 - val_acc: 0.9635\n",
      "Epoch 4177/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0394 - acc: 0.9832 - val_loss: 0.2075 - val_acc: 0.9452\n",
      "Epoch 4178/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0378 - acc: 0.9817 - val_loss: 0.1782 - val_acc: 0.9615\n",
      "Epoch 4179/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0247 - acc: 0.9898 - val_loss: 0.1287 - val_acc: 0.9838\n",
      "Epoch 4180/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0472 - acc: 0.9812 - val_loss: 0.1364 - val_acc: 0.9797\n",
      "Epoch 4181/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0355 - acc: 0.9853 - val_loss: 0.1371 - val_acc: 0.9817\n",
      "Epoch 4182/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0203 - acc: 0.9954 - val_loss: 0.1274 - val_acc: 0.9878\n",
      "Epoch 4183/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0184 - acc: 0.9944 - val_loss: 0.2063 - val_acc: 0.9574\n",
      "Epoch 4184/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0403 - acc: 0.9863 - val_loss: 0.1245 - val_acc: 0.9858\n",
      "Epoch 4185/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0211 - acc: 0.9939 - val_loss: 0.1715 - val_acc: 0.9574\n",
      "Epoch 4186/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0648 - acc: 0.9766 - val_loss: 0.1364 - val_acc: 0.9757\n",
      "Epoch 4187/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0263 - acc: 0.9909 - val_loss: 0.1205 - val_acc: 0.9817\n",
      "Epoch 4188/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0272 - acc: 0.9914 - val_loss: 0.1335 - val_acc: 0.9777\n",
      "Epoch 4189/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0283 - acc: 0.9878 - val_loss: 0.1403 - val_acc: 0.9838\n",
      "Epoch 4190/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0275 - acc: 0.9914 - val_loss: 0.2200 - val_acc: 0.9473\n",
      "Epoch 4191/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0434 - acc: 0.9832 - val_loss: 0.1265 - val_acc: 0.9858\n",
      "Epoch 4192/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0229 - acc: 0.9904 - val_loss: 0.1691 - val_acc: 0.9574\n",
      "Epoch 4193/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0514 - acc: 0.9782 - val_loss: 0.1409 - val_acc: 0.9757\n",
      "Epoch 4194/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0309 - acc: 0.9883 - val_loss: 0.1255 - val_acc: 0.9817\n",
      "Epoch 4195/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0226 - acc: 0.9939 - val_loss: 0.1306 - val_acc: 0.9838\n",
      "Epoch 4196/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0215 - acc: 0.9929 - val_loss: 0.1547 - val_acc: 0.9655\n",
      "Epoch 4197/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0389 - acc: 0.9858 - val_loss: 0.1278 - val_acc: 0.9858\n",
      "Epoch 4198/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0440 - acc: 0.9771 - val_loss: 0.1265 - val_acc: 0.9878\n",
      "Epoch 4199/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0465 - acc: 0.9812 - val_loss: 0.1349 - val_acc: 0.9817\n",
      "Epoch 4200/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0266 - acc: 0.9914 - val_loss: 0.1416 - val_acc: 0.9736\n",
      "Epoch 4201/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0381 - acc: 0.9817 - val_loss: 0.1357 - val_acc: 0.9838\n",
      "Epoch 4202/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0217 - acc: 0.9924 - val_loss: 0.1561 - val_acc: 0.9635\n",
      "Epoch 4203/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0250 - acc: 0.9914 - val_loss: 0.1335 - val_acc: 0.9777\n",
      "Epoch 4204/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0492 - acc: 0.9817 - val_loss: 0.1346 - val_acc: 0.9817\n",
      "Epoch 4205/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0208 - acc: 0.9924 - val_loss: 0.1433 - val_acc: 0.9716\n",
      "Epoch 4206/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0538 - acc: 0.9746 - val_loss: 0.1631 - val_acc: 0.9655\n",
      "Epoch 4207/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0232 - acc: 0.9929 - val_loss: 0.1712 - val_acc: 0.9635\n",
      "Epoch 4208/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0344 - acc: 0.9873 - val_loss: 0.1516 - val_acc: 0.9736\n",
      "Epoch 4209/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0386 - acc: 0.9817 - val_loss: 0.2095 - val_acc: 0.9452\n",
      "Epoch 4210/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0478 - acc: 0.9837 - val_loss: 0.1317 - val_acc: 0.9777\n",
      "Epoch 4211/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0209 - acc: 0.9954 - val_loss: 0.1260 - val_acc: 0.9858\n",
      "Epoch 4212/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0271 - acc: 0.9893 - val_loss: 0.1600 - val_acc: 0.9615\n",
      "Epoch 4213/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0292 - acc: 0.9858 - val_loss: 0.2280 - val_acc: 0.9513\n",
      "Epoch 4214/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0313 - acc: 0.9924 - val_loss: 0.1286 - val_acc: 0.9858\n",
      "Epoch 4215/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0332 - acc: 0.9868 - val_loss: 0.2255 - val_acc: 0.9533\n",
      "Epoch 4216/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0465 - acc: 0.9802 - val_loss: 0.1534 - val_acc: 0.9635\n",
      "Epoch 4217/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0455 - acc: 0.9797 - val_loss: 0.1300 - val_acc: 0.9797\n",
      "Epoch 4218/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0317 - acc: 0.9883 - val_loss: 0.1858 - val_acc: 0.9473\n",
      "Epoch 4219/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0511 - acc: 0.9787 - val_loss: 0.1294 - val_acc: 0.9838\n",
      "Epoch 4220/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0200 - acc: 0.9944 - val_loss: 0.1272 - val_acc: 0.9878\n",
      "Epoch 4221/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0262 - acc: 0.9888 - val_loss: 0.1276 - val_acc: 0.9858\n",
      "Epoch 4222/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0461 - acc: 0.9792 - val_loss: 0.1632 - val_acc: 0.9655\n",
      "Epoch 4223/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0311 - acc: 0.9868 - val_loss: 0.1291 - val_acc: 0.9858\n",
      "Epoch 4224/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0225 - acc: 0.9944 - val_loss: 0.1613 - val_acc: 0.9696\n",
      "Epoch 4225/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0427 - acc: 0.9832 - val_loss: 0.1418 - val_acc: 0.9757\n",
      "Epoch 4226/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0322 - acc: 0.9888 - val_loss: 0.1256 - val_acc: 0.9858\n",
      "Epoch 4227/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0362 - acc: 0.9807 - val_loss: 0.1505 - val_acc: 0.9757\n",
      "Epoch 4228/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0378 - acc: 0.9837 - val_loss: 0.1305 - val_acc: 0.9777\n",
      "Epoch 4229/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0342 - acc: 0.9888 - val_loss: 0.1504 - val_acc: 0.9655\n",
      "Epoch 4230/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0244 - acc: 0.9924 - val_loss: 0.1280 - val_acc: 0.9777\n",
      "Epoch 4231/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0498 - acc: 0.9812 - val_loss: 0.1276 - val_acc: 0.9858\n",
      "Epoch 4232/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0249 - acc: 0.9919 - val_loss: 0.1833 - val_acc: 0.9493\n",
      "Epoch 4233/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0311 - acc: 0.9883 - val_loss: 0.1327 - val_acc: 0.9858\n",
      "Epoch 4234/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0280 - acc: 0.9873 - val_loss: 0.1390 - val_acc: 0.9716\n",
      "Epoch 4235/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0287 - acc: 0.9904 - val_loss: 0.1741 - val_acc: 0.9655\n",
      "Epoch 4236/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0252 - acc: 0.9919 - val_loss: 0.1412 - val_acc: 0.9797\n",
      "Epoch 4237/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0434 - acc: 0.9822 - val_loss: 0.2727 - val_acc: 0.9290\n",
      "Epoch 4238/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0453 - acc: 0.9832 - val_loss: 0.2604 - val_acc: 0.9331\n",
      "Epoch 4239/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0354 - acc: 0.9878 - val_loss: 0.1298 - val_acc: 0.9838\n",
      "Epoch 4240/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0277 - acc: 0.9898 - val_loss: 0.1905 - val_acc: 0.9533\n",
      "Epoch 4241/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0308 - acc: 0.9873 - val_loss: 0.1297 - val_acc: 0.9797\n",
      "Epoch 4242/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0247 - acc: 0.9893 - val_loss: 0.1275 - val_acc: 0.9838\n",
      "Epoch 4243/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0217 - acc: 0.9944 - val_loss: 0.1933 - val_acc: 0.9574\n",
      "Epoch 4244/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0611 - acc: 0.9761 - val_loss: 0.2004 - val_acc: 0.9554\n",
      "Epoch 4245/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0267 - acc: 0.9909 - val_loss: 0.1297 - val_acc: 0.9858\n",
      "Epoch 4246/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0234 - acc: 0.9929 - val_loss: 0.2667 - val_acc: 0.9391\n",
      "Epoch 4247/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0333 - acc: 0.9898 - val_loss: 0.1246 - val_acc: 0.9878\n",
      "Epoch 4248/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0184 - acc: 0.9964 - val_loss: 0.1255 - val_acc: 0.9858\n",
      "Epoch 4249/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0304 - acc: 0.9893 - val_loss: 0.1246 - val_acc: 0.9858\n",
      "Epoch 4250/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0392 - acc: 0.9848 - val_loss: 0.1524 - val_acc: 0.9655\n",
      "Epoch 4251/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0192 - acc: 0.9954 - val_loss: 0.1310 - val_acc: 0.9838\n",
      "Epoch 4252/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0193 - acc: 0.9954 - val_loss: 0.2190 - val_acc: 0.9452\n",
      "Epoch 4253/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0522 - acc: 0.9771 - val_loss: 0.1482 - val_acc: 0.9655\n",
      "Epoch 4254/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0258 - acc: 0.9914 - val_loss: 0.1622 - val_acc: 0.9675\n",
      "Epoch 4255/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0230 - acc: 0.9939 - val_loss: 0.1455 - val_acc: 0.9716\n",
      "Epoch 4256/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0245 - acc: 0.9909 - val_loss: 0.1463 - val_acc: 0.9736\n",
      "Epoch 4257/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0254 - acc: 0.9904 - val_loss: 0.1464 - val_acc: 0.9777\n",
      "Epoch 4258/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0304 - acc: 0.9873 - val_loss: 0.1386 - val_acc: 0.9797\n",
      "Epoch 4259/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0179 - acc: 0.9954 - val_loss: 0.1913 - val_acc: 0.9574\n",
      "Epoch 4260/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0527 - acc: 0.9782 - val_loss: 0.1600 - val_acc: 0.9757\n",
      "Epoch 4261/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0378 - acc: 0.9837 - val_loss: 0.1267 - val_acc: 0.9878\n",
      "Epoch 4262/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0225 - acc: 0.9934 - val_loss: 0.2024 - val_acc: 0.9574\n",
      "Epoch 4263/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0346 - acc: 0.9893 - val_loss: 0.1225 - val_acc: 0.9899\n",
      "Epoch 4264/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0269 - acc: 0.9904 - val_loss: 0.1395 - val_acc: 0.9797\n",
      "Epoch 4265/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0513 - acc: 0.9802 - val_loss: 0.1266 - val_acc: 0.9797\n",
      "Epoch 4266/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0202 - acc: 0.9924 - val_loss: 0.1322 - val_acc: 0.9838\n",
      "Epoch 4267/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0568 - acc: 0.9736 - val_loss: 0.1909 - val_acc: 0.9513\n",
      "Epoch 4268/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.1133 - acc: 0.9614 - val_loss: 0.1254 - val_acc: 0.9858\n",
      "Epoch 4269/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0219 - acc: 0.9934 - val_loss: 0.1271 - val_acc: 0.9858\n",
      "Epoch 4270/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0361 - acc: 0.9873 - val_loss: 0.1248 - val_acc: 0.9858\n",
      "Epoch 4271/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0250 - acc: 0.9934 - val_loss: 0.1396 - val_acc: 0.9777\n",
      "Epoch 4272/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0265 - acc: 0.9909 - val_loss: 0.1406 - val_acc: 0.9716\n",
      "Epoch 4273/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0326 - acc: 0.9853 - val_loss: 0.1421 - val_acc: 0.9757\n",
      "Epoch 4274/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0349 - acc: 0.9843 - val_loss: 0.1288 - val_acc: 0.9838\n",
      "Epoch 4275/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0286 - acc: 0.9883 - val_loss: 0.1308 - val_acc: 0.9838\n",
      "Epoch 4276/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0307 - acc: 0.9883 - val_loss: 0.1388 - val_acc: 0.9797\n",
      "Epoch 4277/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0209 - acc: 0.9929 - val_loss: 0.1348 - val_acc: 0.9838\n",
      "Epoch 4278/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0315 - acc: 0.9878 - val_loss: 0.1272 - val_acc: 0.9878\n",
      "Epoch 4279/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0570 - acc: 0.9746 - val_loss: 0.1261 - val_acc: 0.9878\n",
      "Epoch 4280/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0206 - acc: 0.9924 - val_loss: 0.1747 - val_acc: 0.9655\n",
      "Epoch 4281/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0265 - acc: 0.9904 - val_loss: 0.1338 - val_acc: 0.9838\n",
      "Epoch 4282/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0197 - acc: 0.9939 - val_loss: 0.1764 - val_acc: 0.9594\n",
      "Epoch 4283/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0465 - acc: 0.9848 - val_loss: 0.1510 - val_acc: 0.9736\n",
      "Epoch 4284/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0524 - acc: 0.9792 - val_loss: 0.1546 - val_acc: 0.9635\n",
      "Epoch 4285/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0692 - acc: 0.9746 - val_loss: 0.1700 - val_acc: 0.9594\n",
      "Epoch 4286/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0304 - acc: 0.9868 - val_loss: 0.1210 - val_acc: 0.9817\n",
      "Epoch 4287/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0208 - acc: 0.9939 - val_loss: 0.1160 - val_acc: 0.9858\n",
      "Epoch 4288/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0177 - acc: 0.9944 - val_loss: 0.1192 - val_acc: 0.9858\n",
      "Epoch 4289/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0176 - acc: 0.9964 - val_loss: 0.1243 - val_acc: 0.9797\n",
      "Epoch 4290/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0324 - acc: 0.9893 - val_loss: 0.1150 - val_acc: 0.9858\n",
      "Epoch 4291/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0453 - acc: 0.9827 - val_loss: 0.1386 - val_acc: 0.9757\n",
      "Epoch 4292/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0214 - acc: 0.9934 - val_loss: 0.1207 - val_acc: 0.9878\n",
      "Epoch 4293/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0346 - acc: 0.9832 - val_loss: 0.1264 - val_acc: 0.9675\n",
      "Epoch 4294/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0356 - acc: 0.9848 - val_loss: 0.1890 - val_acc: 0.9493\n",
      "Epoch 4295/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0453 - acc: 0.9837 - val_loss: 0.1418 - val_acc: 0.9675\n",
      "Epoch 4296/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0578 - acc: 0.9746 - val_loss: 0.1289 - val_acc: 0.9858\n",
      "Epoch 4297/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0256 - acc: 0.9934 - val_loss: 0.1738 - val_acc: 0.9615\n",
      "Epoch 4298/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0287 - acc: 0.9893 - val_loss: 0.1342 - val_acc: 0.9838\n",
      "Epoch 4299/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0184 - acc: 0.9949 - val_loss: 0.1201 - val_acc: 0.9777\n",
      "Epoch 4300/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0296 - acc: 0.9868 - val_loss: 0.2960 - val_acc: 0.9331\n",
      "Epoch 4301/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0432 - acc: 0.9888 - val_loss: 0.1276 - val_acc: 0.9858\n",
      "Epoch 4302/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0173 - acc: 0.9954 - val_loss: 0.2086 - val_acc: 0.9493\n",
      "Epoch 4303/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0271 - acc: 0.9888 - val_loss: 0.1384 - val_acc: 0.9817\n",
      "Epoch 4304/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0300 - acc: 0.9863 - val_loss: 0.1235 - val_acc: 0.9878\n",
      "Epoch 4305/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0299 - acc: 0.9909 - val_loss: 0.4348 - val_acc: 0.9108\n",
      "Epoch 4306/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0495 - acc: 0.9853 - val_loss: 0.1494 - val_acc: 0.9675\n",
      "Epoch 4307/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0285 - acc: 0.9883 - val_loss: 0.1244 - val_acc: 0.9878\n",
      "Epoch 4308/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0180 - acc: 0.9975 - val_loss: 0.1271 - val_acc: 0.9858\n",
      "Epoch 4309/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0429 - acc: 0.9822 - val_loss: 0.1657 - val_acc: 0.9594\n",
      "Epoch 4310/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0369 - acc: 0.9802 - val_loss: 0.1259 - val_acc: 0.9878\n",
      "Epoch 4311/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0270 - acc: 0.9898 - val_loss: 0.1311 - val_acc: 0.9838\n",
      "Epoch 4312/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0255 - acc: 0.9909 - val_loss: 0.1179 - val_acc: 0.9838\n",
      "Epoch 4313/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0270 - acc: 0.9898 - val_loss: 0.2451 - val_acc: 0.9371\n",
      "Epoch 4314/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0432 - acc: 0.9817 - val_loss: 0.2295 - val_acc: 0.9371\n",
      "Epoch 4315/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0661 - acc: 0.9761 - val_loss: 0.2159 - val_acc: 0.9432\n",
      "Epoch 4316/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.1948 - acc: 0.906 - 0s - loss: 0.0525 - acc: 0.9797 - val_loss: 0.1421 - val_acc: 0.9716\n",
      "Epoch 4317/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0188 - acc: 0.9934 - val_loss: 0.1340 - val_acc: 0.9797\n",
      "Epoch 4318/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0236 - acc: 0.9934 - val_loss: 0.2595 - val_acc: 0.9432\n",
      "Epoch 4319/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.2116 - acc: 0.937 - 0s - loss: 0.0336 - acc: 0.9893 - val_loss: 0.1345 - val_acc: 0.9817\n",
      "Epoch 4320/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0235 - acc: 0.9909 - val_loss: 0.1267 - val_acc: 0.9858\n",
      "Epoch 4321/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0348 - acc: 0.9868 - val_loss: 0.1320 - val_acc: 0.9838\n",
      "Epoch 4322/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0176 - acc: 0.9970 - val_loss: 0.1274 - val_acc: 0.9858\n",
      "Epoch 4323/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0156 - acc: 0.9954 - val_loss: 0.1246 - val_acc: 0.9858\n",
      "Epoch 4324/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0283 - acc: 0.9893 - val_loss: 0.1295 - val_acc: 0.9797\n",
      "Epoch 4325/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0447 - acc: 0.9807 - val_loss: 0.1608 - val_acc: 0.9635\n",
      "Epoch 4326/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0621 - acc: 0.9736 - val_loss: 0.1281 - val_acc: 0.9838\n",
      "Epoch 4327/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0169 - acc: 0.9949 - val_loss: 0.1252 - val_acc: 0.9858\n",
      "Epoch 4328/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0286 - acc: 0.9888 - val_loss: 0.1346 - val_acc: 0.9757\n",
      "Epoch 4329/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0272 - acc: 0.9893 - val_loss: 0.1245 - val_acc: 0.9838\n",
      "Epoch 4330/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0164 - acc: 0.9964 - val_loss: 0.1397 - val_acc: 0.9736\n",
      "Epoch 4331/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0441 - acc: 0.9802 - val_loss: 0.3157 - val_acc: 0.9270\n",
      "Epoch 4332/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0346 - acc: 0.9888 - val_loss: 0.1303 - val_acc: 0.9838\n",
      "Epoch 4333/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0166 - acc: 0.9944 - val_loss: 0.1332 - val_acc: 0.9817\n",
      "Epoch 4334/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0173 - acc: 0.9970 - val_loss: 0.1879 - val_acc: 0.9594\n",
      "Epoch 4335/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0329 - acc: 0.9878 - val_loss: 0.1224 - val_acc: 0.9878\n",
      "Epoch 4336/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0312 - acc: 0.9888 - val_loss: 0.1390 - val_acc: 0.9655\n",
      "Epoch 4337/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0182 - acc: 0.9949 - val_loss: 0.1254 - val_acc: 0.9817\n",
      "Epoch 4338/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0178 - acc: 0.9944 - val_loss: 0.1445 - val_acc: 0.9777\n",
      "Epoch 4339/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0175 - acc: 0.9959 - val_loss: 0.1206 - val_acc: 0.9878\n",
      "Epoch 4340/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0311 - acc: 0.9904 - val_loss: 0.1122 - val_acc: 0.9899\n",
      "Epoch 4341/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0234 - acc: 0.9914 - val_loss: 0.1565 - val_acc: 0.9696\n",
      "Epoch 4342/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0470 - acc: 0.9807 - val_loss: 0.1399 - val_acc: 0.9655\n",
      "Epoch 4343/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0678 - acc: 0.9761 - val_loss: 0.1264 - val_acc: 0.9858\n",
      "Epoch 4344/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0251 - acc: 0.9873 - val_loss: 0.1373 - val_acc: 0.9736\n",
      "Epoch 4345/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0224 - acc: 0.9924 - val_loss: 0.1259 - val_acc: 0.9858\n",
      "Epoch 4346/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0394 - acc: 0.9873 - val_loss: 0.1242 - val_acc: 0.9878\n",
      "Epoch 4347/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0180 - acc: 0.9970 - val_loss: 0.1402 - val_acc: 0.9736\n",
      "Epoch 4348/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0617 - acc: 0.9716 - val_loss: 0.1118 - val_acc: 0.9777\n",
      "Epoch 4349/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0281 - acc: 0.9898 - val_loss: 0.3799 - val_acc: 0.9128\n",
      "Epoch 4350/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0470 - acc: 0.9843 - val_loss: 0.1227 - val_acc: 0.9878\n",
      "Epoch 4351/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0159 - acc: 0.9959 - val_loss: 0.1258 - val_acc: 0.9878\n",
      "Epoch 4352/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0196 - acc: 0.9934 - val_loss: 0.1388 - val_acc: 0.9757\n",
      "Epoch 4353/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0343 - acc: 0.9863 - val_loss: 0.1246 - val_acc: 0.9797\n",
      "Epoch 4354/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0155 - acc: 0.9954 - val_loss: 0.1340 - val_acc: 0.9817\n",
      "Epoch 4355/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0346 - acc: 0.9883 - val_loss: 0.1305 - val_acc: 0.9858\n",
      "Epoch 4356/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0165 - acc: 0.9959 - val_loss: 0.1087 - val_acc: 0.9878\n",
      "Epoch 4357/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0316 - acc: 0.9863 - val_loss: 0.1266 - val_acc: 0.9797\n",
      "Epoch 4358/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0276 - acc: 0.9878 - val_loss: 0.1213 - val_acc: 0.9858\n",
      "Epoch 4359/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0222 - acc: 0.9924 - val_loss: 0.1174 - val_acc: 0.9878\n",
      "Epoch 4360/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0201 - acc: 0.9949 - val_loss: 0.2082 - val_acc: 0.9493\n",
      "Epoch 4361/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0613 - acc: 0.9741 - val_loss: 0.1250 - val_acc: 0.9817\n",
      "Epoch 4362/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0281 - acc: 0.9888 - val_loss: 0.1104 - val_acc: 0.9878\n",
      "Epoch 4363/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0284 - acc: 0.9878 - val_loss: 0.1136 - val_acc: 0.9858\n",
      "Epoch 4364/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0223 - acc: 0.9919 - val_loss: 0.1071 - val_acc: 0.9858\n",
      "Epoch 4365/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0181 - acc: 0.9944 - val_loss: 0.1278 - val_acc: 0.9716\n",
      "Epoch 4366/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0228 - acc: 0.9929 - val_loss: 0.1915 - val_acc: 0.9533\n",
      "Epoch 4367/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0254 - acc: 0.9929 - val_loss: 0.1225 - val_acc: 0.9838\n",
      "Epoch 4368/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0437 - acc: 0.9817 - val_loss: 0.2328 - val_acc: 0.9493\n",
      "Epoch 4369/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0489 - acc: 0.9807 - val_loss: 0.1330 - val_acc: 0.9777\n",
      "Epoch 4370/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0284 - acc: 0.9888 - val_loss: 0.1379 - val_acc: 0.9736\n",
      "Epoch 4371/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0597 - acc: 0.9771 - val_loss: 0.1365 - val_acc: 0.9716\n",
      "Epoch 4372/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0255 - acc: 0.9898 - val_loss: 0.1342 - val_acc: 0.9817\n",
      "Epoch 4373/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0222 - acc: 0.9919 - val_loss: 0.1223 - val_acc: 0.9878\n",
      "Epoch 4374/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0234 - acc: 0.9914 - val_loss: 0.1208 - val_acc: 0.9899\n",
      "Epoch 4375/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0578 - acc: 0.9746 - val_loss: 0.1724 - val_acc: 0.9574\n",
      "Epoch 4376/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0192 - acc: 0.9959 - val_loss: 0.1272 - val_acc: 0.9838\n",
      "Epoch 4377/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0291 - acc: 0.9888 - val_loss: 0.1132 - val_acc: 0.9817\n",
      "Epoch 4378/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0159 - acc: 0.9954 - val_loss: 0.1205 - val_acc: 0.9838\n",
      "Epoch 4379/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0286 - acc: 0.9883 - val_loss: 0.1102 - val_acc: 0.9878\n",
      "Epoch 4380/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0443 - acc: 0.9827 - val_loss: 0.1639 - val_acc: 0.9594\n",
      "Epoch 4381/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0258 - acc: 0.9904 - val_loss: 0.1391 - val_acc: 0.9757\n",
      "Epoch 4382/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0228 - acc: 0.9919 - val_loss: 0.1165 - val_acc: 0.9899\n",
      "Epoch 4383/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0424 - acc: 0.9832 - val_loss: 0.1241 - val_acc: 0.9878\n",
      "Epoch 4384/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0147 - acc: 0.9970 - val_loss: 0.1236 - val_acc: 0.9878\n",
      "Epoch 4385/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0210 - acc: 0.9944 - val_loss: 0.1564 - val_acc: 0.9655\n",
      "Epoch 4386/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0472 - acc: 0.9807 - val_loss: 0.1016 - val_acc: 0.9797\n",
      "Epoch 4387/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0348 - acc: 0.9863 - val_loss: 0.1495 - val_acc: 0.9696\n",
      "Epoch 4388/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0182 - acc: 0.9944 - val_loss: 0.1357 - val_acc: 0.9757\n",
      "Epoch 4389/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0231 - acc: 0.9934 - val_loss: 0.1281 - val_acc: 0.9858\n",
      "Epoch 4390/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0261 - acc: 0.9888 - val_loss: 0.1322 - val_acc: 0.9817\n",
      "Epoch 4391/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0250 - acc: 0.9909 - val_loss: 0.2133 - val_acc: 0.9493\n",
      "Epoch 4392/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0625 - acc: 0.9716 - val_loss: 0.1216 - val_acc: 0.9878\n",
      "Epoch 4393/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0181 - acc: 0.9944 - val_loss: 0.1590 - val_acc: 0.9655\n",
      "Epoch 4394/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0251 - acc: 0.9873 - val_loss: 0.1221 - val_acc: 0.9878\n",
      "Epoch 4395/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0367 - acc: 0.9843 - val_loss: 0.1778 - val_acc: 0.9615\n",
      "Epoch 4396/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0296 - acc: 0.9888 - val_loss: 0.1375 - val_acc: 0.9777\n",
      "Epoch 4397/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0171 - acc: 0.9954 - val_loss: 0.1677 - val_acc: 0.9696\n",
      "Epoch 4398/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0334 - acc: 0.9873 - val_loss: 0.1403 - val_acc: 0.9757\n",
      "Epoch 4399/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0345 - acc: 0.9848 - val_loss: 0.1221 - val_acc: 0.9899\n",
      "Epoch 4400/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0271 - acc: 0.9898 - val_loss: 0.1274 - val_acc: 0.9797\n",
      "Epoch 4401/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0164 - acc: 0.9959 - val_loss: 0.1215 - val_acc: 0.9878\n",
      "Epoch 4402/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0369 - acc: 0.9868 - val_loss: 0.1531 - val_acc: 0.9675\n",
      "Epoch 4403/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0308 - acc: 0.9858 - val_loss: 0.1685 - val_acc: 0.9696\n",
      "Epoch 4404/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0266 - acc: 0.9898 - val_loss: 0.1297 - val_acc: 0.9838\n",
      "Epoch 4405/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0471 - acc: 0.9797 - val_loss: 0.1452 - val_acc: 0.9777\n",
      "Epoch 4406/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0897 - acc: 0.9660 - val_loss: 0.1457 - val_acc: 0.9696\n",
      "Epoch 4407/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0306 - acc: 0.9883 - val_loss: 0.1239 - val_acc: 0.9777\n",
      "Epoch 4408/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0278 - acc: 0.9904 - val_loss: 0.1289 - val_acc: 0.9858\n",
      "Epoch 4409/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0190 - acc: 0.9954 - val_loss: 0.1212 - val_acc: 0.9878\n",
      "Epoch 4410/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0224 - acc: 0.9924 - val_loss: 0.2028 - val_acc: 0.9493\n",
      "Epoch 4411/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0350 - acc: 0.9868 - val_loss: 0.1145 - val_acc: 0.9817\n",
      "Epoch 4412/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0163 - acc: 0.9949 - val_loss: 0.1368 - val_acc: 0.9716\n",
      "Epoch 4413/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0560 - acc: 0.9782 - val_loss: 0.1228 - val_acc: 0.9858\n",
      "Epoch 4414/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0161 - acc: 0.9954 - val_loss: 0.1245 - val_acc: 0.9858\n",
      "Epoch 4415/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0202 - acc: 0.9924 - val_loss: 0.1679 - val_acc: 0.9615\n",
      "Epoch 4416/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0543 - acc: 0.9751 - val_loss: 0.1221 - val_acc: 0.9838\n",
      "Epoch 4417/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0434 - acc: 0.9807 - val_loss: 0.2992 - val_acc: 0.9310\n",
      "Epoch 4418/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0549 - acc: 0.9812 - val_loss: 0.1418 - val_acc: 0.9635\n",
      "Epoch 4419/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0320 - acc: 0.9863 - val_loss: 0.1447 - val_acc: 0.9757\n",
      "Epoch 4420/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0294 - acc: 0.9893 - val_loss: 0.3284 - val_acc: 0.9452\n",
      "Epoch 4421/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0360 - acc: 0.9909 - val_loss: 0.1221 - val_acc: 0.9858\n",
      "Epoch 4422/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0177 - acc: 0.9959 - val_loss: 0.1339 - val_acc: 0.9838\n",
      "Epoch 4423/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0161 - acc: 0.9959 - val_loss: 0.1430 - val_acc: 0.9797\n",
      "Epoch 4424/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0183 - acc: 0.9954 - val_loss: 0.1857 - val_acc: 0.9533\n",
      "Epoch 4425/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0246 - acc: 0.9919 - val_loss: 0.1267 - val_acc: 0.9858\n",
      "Epoch 4426/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0305 - acc: 0.9878 - val_loss: 0.1389 - val_acc: 0.9797\n",
      "Epoch 4427/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0172 - acc: 0.9939 - val_loss: 0.1261 - val_acc: 0.9736\n",
      "Epoch 4428/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0418 - acc: 0.9837 - val_loss: 0.2170 - val_acc: 0.9493\n",
      "Epoch 4429/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0292 - acc: 0.9883 - val_loss: 0.1260 - val_acc: 0.9858\n",
      "Epoch 4430/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0200 - acc: 0.9929 - val_loss: 0.1266 - val_acc: 0.9757\n",
      "Epoch 4431/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0218 - acc: 0.9904 - val_loss: 0.1221 - val_acc: 0.9817\n",
      "Epoch 4432/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0182 - acc: 0.9949 - val_loss: 0.1151 - val_acc: 0.9858\n",
      "Epoch 4433/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0283 - acc: 0.9898 - val_loss: 0.1413 - val_acc: 0.9716\n",
      "Epoch 4434/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0879 - acc: 0.9685 - val_loss: 0.2071 - val_acc: 0.9574\n",
      "Epoch 4435/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0651 - acc: 0.9751 - val_loss: 0.1285 - val_acc: 0.9838\n",
      "Epoch 4436/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0215 - acc: 0.9929 - val_loss: 0.1913 - val_acc: 0.9473\n",
      "Epoch 4437/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0230 - acc: 0.9924 - val_loss: 0.1272 - val_acc: 0.9838\n",
      "Epoch 4438/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0158 - acc: 0.9949 - val_loss: 0.1279 - val_acc: 0.9817\n",
      "Epoch 4439/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0223 - acc: 0.9929 - val_loss: 0.1240 - val_acc: 0.9838\n",
      "Epoch 4440/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0437 - acc: 0.9827 - val_loss: 0.1239 - val_acc: 0.9858\n",
      "Epoch 4441/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0271 - acc: 0.9898 - val_loss: 0.1289 - val_acc: 0.9797\n",
      "Epoch 4442/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0173 - acc: 0.9944 - val_loss: 0.1229 - val_acc: 0.9878\n",
      "Epoch 4443/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0321 - acc: 0.9873 - val_loss: 0.1195 - val_acc: 0.9899\n",
      "Epoch 4444/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0191 - acc: 0.9944 - val_loss: 0.1247 - val_acc: 0.9878\n",
      "Epoch 4445/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0499 - acc: 0.9797 - val_loss: 0.1793 - val_acc: 0.9594\n",
      "Epoch 4446/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0252 - acc: 0.9888 - val_loss: 0.1222 - val_acc: 0.9858\n",
      "Epoch 4447/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0239 - acc: 0.9914 - val_loss: 0.1510 - val_acc: 0.9716\n",
      "Epoch 4448/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0182 - acc: 0.9929 - val_loss: 0.1215 - val_acc: 0.9899\n",
      "Epoch 4449/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0212 - acc: 0.9924 - val_loss: 0.1757 - val_acc: 0.9655\n",
      "Epoch 4450/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0611 - acc: 0.9787 - val_loss: 0.1471 - val_acc: 0.9696\n",
      "Epoch 4451/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0179 - acc: 0.9959 - val_loss: 0.1179 - val_acc: 0.9817\n",
      "Epoch 4452/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0320 - acc: 0.9863 - val_loss: 0.1235 - val_acc: 0.9777\n",
      "Epoch 4453/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0367 - acc: 0.9858 - val_loss: 0.1256 - val_acc: 0.9777\n",
      "Epoch 4454/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0171 - acc: 0.9934 - val_loss: 0.1273 - val_acc: 0.9838\n",
      "Epoch 4455/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0136 - acc: 0.9970 - val_loss: 0.1263 - val_acc: 0.9838\n",
      "Epoch 4456/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0183 - acc: 0.9939 - val_loss: 0.1287 - val_acc: 0.9858\n",
      "Epoch 4457/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0469 - acc: 0.9817 - val_loss: 0.1293 - val_acc: 0.9838\n",
      "Epoch 4458/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0171 - acc: 0.9934 - val_loss: 0.1624 - val_acc: 0.9655\n",
      "Epoch 4459/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0351 - acc: 0.9843 - val_loss: 0.1980 - val_acc: 0.9473\n",
      "Epoch 4460/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0228 - acc: 0.9939 - val_loss: 0.1271 - val_acc: 0.9858\n",
      "Epoch 4461/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0330 - acc: 0.9878 - val_loss: 0.1251 - val_acc: 0.9858\n",
      "Epoch 4462/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0182 - acc: 0.9939 - val_loss: 0.1660 - val_acc: 0.9635\n",
      "Epoch 4463/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0363 - acc: 0.9858 - val_loss: 0.1232 - val_acc: 0.9878\n",
      "Epoch 4464/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0263 - acc: 0.9888 - val_loss: 0.4052 - val_acc: 0.9249\n",
      "Epoch 4465/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0599 - acc: 0.9782 - val_loss: 0.1243 - val_acc: 0.9858\n",
      "Epoch 4466/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0144 - acc: 0.9970 - val_loss: 0.1209 - val_acc: 0.9858\n",
      "Epoch 4467/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0289 - acc: 0.9898 - val_loss: 0.1396 - val_acc: 0.9777\n",
      "Epoch 4468/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0160 - acc: 0.9954 - val_loss: 0.1198 - val_acc: 0.9878\n",
      "Epoch 4469/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0253 - acc: 0.9893 - val_loss: 0.2164 - val_acc: 0.9473\n",
      "Epoch 4470/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0588 - acc: 0.9792 - val_loss: 0.1668 - val_acc: 0.9736\n",
      "Epoch 4471/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0263 - acc: 0.9893 - val_loss: 0.1792 - val_acc: 0.9554\n",
      "Epoch 4472/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0449 - acc: 0.9802 - val_loss: 0.1386 - val_acc: 0.9817\n",
      "Epoch 4473/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0160 - acc: 0.9970 - val_loss: 0.1191 - val_acc: 0.9899\n",
      "Epoch 4474/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0479 - acc: 0.9792 - val_loss: 0.1282 - val_acc: 0.9878\n",
      "Epoch 4475/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0141 - acc: 0.9964 - val_loss: 0.1292 - val_acc: 0.9797\n",
      "Epoch 4476/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0163 - acc: 0.9970 - val_loss: 0.2286 - val_acc: 0.9554\n",
      "Epoch 4477/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0375 - acc: 0.9848 - val_loss: 0.1635 - val_acc: 0.9716\n",
      "Epoch 4478/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0164 - acc: 0.9954 - val_loss: 0.1615 - val_acc: 0.9716\n",
      "Epoch 4479/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0451 - acc: 0.9792 - val_loss: 0.1450 - val_acc: 0.9736\n",
      "Epoch 4480/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0304 - acc: 0.9873 - val_loss: 0.1365 - val_acc: 0.9736\n",
      "Epoch 4481/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0319 - acc: 0.9848 - val_loss: 0.1194 - val_acc: 0.9858\n",
      "Epoch 4482/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0154 - acc: 0.9970 - val_loss: 0.1195 - val_acc: 0.9899\n",
      "Epoch 4483/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0154 - acc: 0.9975 - val_loss: 0.1265 - val_acc: 0.9878\n",
      "Epoch 4484/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0525 - acc: 0.9827 - val_loss: 0.1244 - val_acc: 0.9858\n",
      "Epoch 4485/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0241 - acc: 0.9924 - val_loss: 0.1255 - val_acc: 0.9858\n",
      "Epoch 4486/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0221 - acc: 0.9909 - val_loss: 0.0916 - val_acc: 0.9838\n",
      "Epoch 4487/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0183 - acc: 0.9959 - val_loss: 0.0947 - val_acc: 0.9878\n",
      "Epoch 4488/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0174 - acc: 0.9939 - val_loss: 0.1282 - val_acc: 0.9736\n",
      "Epoch 4489/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0502 - acc: 0.9777 - val_loss: 0.0934 - val_acc: 0.9858\n",
      "Epoch 4490/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0274 - acc: 0.9873 - val_loss: 0.0995 - val_acc: 0.9817\n",
      "Epoch 4491/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0255 - acc: 0.9909 - val_loss: 0.1105 - val_acc: 0.9797\n",
      "Epoch 4492/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0218 - acc: 0.9929 - val_loss: 0.1099 - val_acc: 0.9757\n",
      "Epoch 4493/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0427 - acc: 0.9858 - val_loss: 0.3038 - val_acc: 0.92090.990\n",
      "Epoch 4494/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0355 - acc: 0.9863 - val_loss: 0.1315 - val_acc: 0.9675\n",
      "Epoch 4495/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0455 - acc: 0.9812 - val_loss: 0.1115 - val_acc: 0.9777\n",
      "Epoch 4496/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0208 - acc: 0.9934 - val_loss: 0.1405 - val_acc: 0.9696\n",
      "Epoch 4497/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0137 - acc: 0.9964 - val_loss: 0.1016 - val_acc: 0.9878\n",
      "Epoch 4498/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0172 - acc: 0.9929 - val_loss: 0.2572 - val_acc: 0.9351\n",
      "Epoch 4499/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0554 - acc: 0.9766 - val_loss: 0.1055 - val_acc: 0.9878\n",
      "Epoch 4500/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0220 - acc: 0.9924 - val_loss: 0.1342 - val_acc: 0.9817\n",
      "Epoch 4501/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0188 - acc: 0.9944 - val_loss: 0.1057 - val_acc: 0.9899\n",
      "Epoch 4502/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0295 - acc: 0.9883 - val_loss: 0.1245 - val_acc: 0.9878\n",
      "Epoch 4503/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0708 - acc: 0.9751 - val_loss: 0.1643 - val_acc: 0.9635\n",
      "Epoch 4504/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0303 - acc: 0.9883 - val_loss: 0.0976 - val_acc: 0.9899\n",
      "Epoch 4505/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0131 - acc: 0.9964 - val_loss: 0.1159 - val_acc: 0.9878\n",
      "Epoch 4506/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0155 - acc: 0.9954 - val_loss: 0.1277 - val_acc: 0.9858\n",
      "Epoch 4507/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0190 - acc: 0.9934 - val_loss: 0.1331 - val_acc: 0.9615\n",
      "Epoch 4508/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0158 - acc: 0.9954 - val_loss: 0.1144 - val_acc: 0.9858\n",
      "Epoch 4509/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0286 - acc: 0.9914 - val_loss: 0.1058 - val_acc: 0.9858\n",
      "Epoch 4510/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0218 - acc: 0.9929 - val_loss: 0.1093 - val_acc: 0.9817\n",
      "Epoch 4511/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0241 - acc: 0.9878 - val_loss: 0.1239 - val_acc: 0.9757\n",
      "Epoch 4512/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0336 - acc: 0.9853 - val_loss: 0.1279 - val_acc: 0.9797\n",
      "Epoch 4513/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0279 - acc: 0.9883 - val_loss: 0.1257 - val_acc: 0.9878\n",
      "Epoch 4514/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0310 - acc: 0.9873 - val_loss: 0.1214 - val_acc: 0.9838\n",
      "Epoch 4515/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0140 - acc: 0.9964 - val_loss: 0.1409 - val_acc: 0.9716\n",
      "Epoch 4516/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0189 - acc: 0.9949 - val_loss: 0.1083 - val_acc: 0.9878\n",
      "Epoch 4517/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0372 - acc: 0.9868 - val_loss: 0.1015 - val_acc: 0.9838\n",
      "Epoch 4518/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0496 - acc: 0.9817 - val_loss: 0.1278 - val_acc: 0.9797\n",
      "Epoch 4519/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0346 - acc: 0.9868 - val_loss: 0.1294 - val_acc: 0.9777\n",
      "Epoch 4520/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0159 - acc: 0.9959 - val_loss: 0.1734 - val_acc: 0.9574\n",
      "Epoch 4521/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0389 - acc: 0.9792 - val_loss: 0.1319 - val_acc: 0.9817\n",
      "Epoch 4522/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0166 - acc: 0.9949 - val_loss: 0.1222 - val_acc: 0.9858\n",
      "Epoch 4523/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0349 - acc: 0.9878 - val_loss: 0.2098 - val_acc: 0.9452\n",
      "Epoch 4524/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0182 - acc: 0.9959 - val_loss: 0.1201 - val_acc: 0.9899\n",
      "Epoch 4525/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0432 - acc: 0.9802 - val_loss: 0.1605 - val_acc: 0.9655\n",
      "Epoch 4526/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0232 - acc: 0.9914 - val_loss: 0.1271 - val_acc: 0.9838\n",
      "Epoch 4527/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0190 - acc: 0.9929 - val_loss: 0.1302 - val_acc: 0.9777\n",
      "Epoch 4528/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0139 - acc: 0.9975 - val_loss: 0.1238 - val_acc: 0.9858\n",
      "Epoch 4529/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0297 - acc: 0.9904 - val_loss: 0.1267 - val_acc: 0.9858\n",
      "Epoch 4530/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0272 - acc: 0.9888 - val_loss: 0.3842 - val_acc: 0.9189\n",
      "Epoch 4531/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0531 - acc: 0.9807 - val_loss: 0.1773 - val_acc: 0.9594\n",
      "Epoch 4532/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0198 - acc: 0.9924 - val_loss: 0.1247 - val_acc: 0.9878\n",
      "Epoch 4533/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0295 - acc: 0.9898 - val_loss: 0.0898 - val_acc: 0.9878\n",
      "Epoch 4534/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0261 - acc: 0.9939 - val_loss: 0.0994 - val_acc: 0.9878\n",
      "Epoch 4535/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0141 - acc: 0.9970 - val_loss: 0.0972 - val_acc: 0.9858\n",
      "Epoch 4536/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0405 - acc: 0.9837 - val_loss: 0.0966 - val_acc: 0.9878\n",
      "Epoch 4537/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0188 - acc: 0.9929 - val_loss: 0.0969 - val_acc: 0.9878\n",
      "Epoch 4538/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0313 - acc: 0.9883 - val_loss: 0.1030 - val_acc: 0.9858\n",
      "Epoch 4539/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0275 - acc: 0.9888 - val_loss: 0.0935 - val_acc: 0.9878\n",
      "Epoch 4540/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0105 - acc: 0.992 - 0s - loss: 0.0151 - acc: 0.9954 - val_loss: 0.0982 - val_acc: 0.9858\n",
      "Epoch 4541/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0196 - acc: 0.9924 - val_loss: 0.0931 - val_acc: 0.9878\n",
      "Epoch 4542/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0344 - acc: 0.9878 - val_loss: 0.0975 - val_acc: 0.9878\n",
      "Epoch 4543/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0258 - acc: 0.9898 - val_loss: 0.1088 - val_acc: 0.9817\n",
      "Epoch 4544/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0303 - acc: 0.9893 - val_loss: 0.1101 - val_acc: 0.9838\n",
      "Epoch 4545/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0156 - acc: 0.9934 - val_loss: 0.1003 - val_acc: 0.9878\n",
      "Epoch 4546/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0136 - acc: 0.9959 - val_loss: 0.0889 - val_acc: 0.9899\n",
      "Epoch 4547/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0122 - acc: 0.9970 - val_loss: 0.1024 - val_acc: 0.9899\n",
      "Epoch 4548/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0363 - acc: 0.9863 - val_loss: 0.0976 - val_acc: 0.9878\n",
      "Epoch 4549/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0140 - acc: 0.9964 - val_loss: 0.1024 - val_acc: 0.9858\n",
      "Epoch 4550/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0300 - acc: 0.9878 - val_loss: 0.2570 - val_acc: 0.9432\n",
      "Epoch 4551/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0929 - acc: 0.9675 - val_loss: 0.0973 - val_acc: 0.9899\n",
      "Epoch 4552/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0168 - acc: 0.9964 - val_loss: 0.0894 - val_acc: 0.9878\n",
      "Epoch 4553/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0037 - acc: 1.000 - 0s - loss: 0.0122 - acc: 0.9970 - val_loss: 0.0860 - val_acc: 0.9919\n",
      "Epoch 4554/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0327 - acc: 0.9868 - val_loss: 0.1090 - val_acc: 0.9878\n",
      "Epoch 4555/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0133 - acc: 0.9964 - val_loss: 0.0980 - val_acc: 0.9878\n",
      "Epoch 4556/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0154 - acc: 0.9954 - val_loss: 0.2347 - val_acc: 0.9351\n",
      "Epoch 4557/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0342 - acc: 0.9883 - val_loss: 0.0978 - val_acc: 0.9797\n",
      "Epoch 4558/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0238 - acc: 0.9893 - val_loss: 0.1821 - val_acc: 0.9574\n",
      "Epoch 4559/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0347 - acc: 0.9863 - val_loss: 0.1505 - val_acc: 0.9716\n",
      "Epoch 4560/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0164 - acc: 0.9944 - val_loss: 0.0951 - val_acc: 0.9899\n",
      "Epoch 4561/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0178 - acc: 0.9949 - val_loss: 0.1069 - val_acc: 0.9858\n",
      "Epoch 4562/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0165 - acc: 0.9954 - val_loss: 0.1374 - val_acc: 0.9797\n",
      "Epoch 4563/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0531 - acc: 0.9766 - val_loss: 0.0964 - val_acc: 0.9899\n",
      "Epoch 4564/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0352 - acc: 0.9843 - val_loss: 0.1163 - val_acc: 0.9838\n",
      "Epoch 4565/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0196 - acc: 0.9954 - val_loss: 0.0890 - val_acc: 0.9899\n",
      "Epoch 4566/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0172 - acc: 0.9939 - val_loss: 0.0975 - val_acc: 0.9858\n",
      "Epoch 4567/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0230 - acc: 0.9904 - val_loss: 0.3296 - val_acc: 0.9270\n",
      "Epoch 4568/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0319 - acc: 0.9904 - val_loss: 0.0999 - val_acc: 0.9899\n",
      "Epoch 4569/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0156 - acc: 0.9949 - val_loss: 0.0985 - val_acc: 0.9899\n",
      "Epoch 4570/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0132 - acc: 0.9975 - val_loss: 0.1124 - val_acc: 0.9838\n",
      "Epoch 4571/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0222 - acc: 0.9929 - val_loss: 0.1001 - val_acc: 0.9899\n",
      "Epoch 4572/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0324 - acc: 0.9853 - val_loss: 0.1726 - val_acc: 0.9473\n",
      "Epoch 4573/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0554 - acc: 0.9777 - val_loss: 0.1990 - val_acc: 0.9473\n",
      "Epoch 4574/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0390 - acc: 0.9853 - val_loss: 0.1242 - val_acc: 0.9858\n",
      "Epoch 4575/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0417 - acc: 0.9832 - val_loss: 0.1406 - val_acc: 0.9716\n",
      "Epoch 4576/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0551 - acc: 0.9802 - val_loss: 0.1370 - val_acc: 0.97160.980\n",
      "Epoch 4577/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0479 - acc: 0.9837 - val_loss: 0.1144 - val_acc: 0.9858\n",
      "Epoch 4578/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0230 - acc: 0.9914 - val_loss: 0.1006 - val_acc: 0.9838\n",
      "Epoch 4579/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0147 - acc: 0.9964 - val_loss: 0.1075 - val_acc: 0.9757\n",
      "Epoch 4580/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0228 - acc: 0.9904 - val_loss: 0.1035 - val_acc: 0.9817\n",
      "Epoch 4581/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0230 - acc: 0.9914 - val_loss: 0.1237 - val_acc: 0.9838\n",
      "Epoch 4582/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0164 - acc: 0.9949 - val_loss: 0.1490 - val_acc: 0.9635\n",
      "Epoch 4583/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0823 - acc: 0.9726 - val_loss: 0.4241 - val_acc: 0.9189\n",
      "Epoch 4584/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0593 - acc: 0.9827 - val_loss: 0.0865 - val_acc: 0.9878\n",
      "Epoch 4585/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0133 - acc: 0.9980 - val_loss: 0.1156 - val_acc: 0.9878\n",
      "Epoch 4586/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0272 - acc: 0.9873 - val_loss: 0.1037 - val_acc: 0.9899\n",
      "Epoch 4587/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0129 - acc: 0.9964 - val_loss: 0.1040 - val_acc: 0.9858\n",
      "Epoch 4588/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0425 - acc: 0.9822 - val_loss: 0.1019 - val_acc: 0.9797\n",
      "Epoch 4589/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0144 - acc: 0.9959 - val_loss: 0.1149 - val_acc: 0.9899\n",
      "Epoch 4590/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0262 - acc: 0.9898 - val_loss: 0.0981 - val_acc: 0.9858\n",
      "Epoch 4591/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0119 - acc: 0.9970 - val_loss: 0.1094 - val_acc: 0.9838\n",
      "Epoch 4592/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0150 - acc: 0.9954 - val_loss: 0.1142 - val_acc: 0.9736\n",
      "Epoch 4593/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0922 - acc: 0.9680 - val_loss: 0.1285 - val_acc: 0.9817\n",
      "Epoch 4594/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0160 - acc: 0.9954 - val_loss: 0.1298 - val_acc: 0.9777\n",
      "Epoch 4595/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0176 - acc: 0.9944 - val_loss: 0.1275 - val_acc: 0.9777\n",
      "Epoch 4596/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0267 - acc: 0.9883 - val_loss: 0.1600 - val_acc: 0.9594\n",
      "Epoch 4597/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0218 - acc: 0.9924 - val_loss: 0.1092 - val_acc: 0.9858\n",
      "Epoch 4598/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0466 - acc: 0.9822 - val_loss: 0.1328 - val_acc: 0.9817\n",
      "Epoch 4599/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0193 - acc: 0.9924 - val_loss: 0.1301 - val_acc: 0.9838\n",
      "Epoch 4600/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0202 - acc: 0.9924 - val_loss: 0.1899 - val_acc: 0.9533\n",
      "Epoch 4601/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0541 - acc: 0.9807 - val_loss: 0.1125 - val_acc: 0.9878\n",
      "Epoch 4602/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0147 - acc: 0.9970 - val_loss: 0.1270 - val_acc: 0.9838\n",
      "Epoch 4603/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0221 - acc: 0.9904 - val_loss: 0.1257 - val_acc: 0.9858\n",
      "Epoch 4604/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0202 - acc: 0.9914 - val_loss: 0.1206 - val_acc: 0.9838\n",
      "Epoch 4605/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0526 - acc: 0.9787 - val_loss: 0.1204 - val_acc: 0.9878\n",
      "Epoch 4606/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0152 - acc: 0.9964 - val_loss: 0.1266 - val_acc: 0.9858\n",
      "Epoch 4607/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0330 - acc: 0.9888 - val_loss: 0.1235 - val_acc: 0.9777\n",
      "Epoch 4608/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0227 - acc: 0.9909 - val_loss: 0.1210 - val_acc: 0.9878\n",
      "Epoch 4609/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0435 - acc: 0.9812 - val_loss: 0.1184 - val_acc: 0.9878\n",
      "Epoch 4610/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0496 - acc: 0.9777 - val_loss: 0.2347 - val_acc: 0.9412\n",
      "Epoch 4611/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0332 - acc: 0.9858 - val_loss: 0.1077 - val_acc: 0.9878\n",
      "Epoch 4612/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0147 - acc: 0.9959 - val_loss: 0.1167 - val_acc: 0.9899\n",
      "Epoch 4613/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0129 - acc: 0.9964 - val_loss: 0.1165 - val_acc: 0.9878\n",
      "Epoch 4614/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0171 - acc: 0.9924 - val_loss: 0.1742 - val_acc: 0.9533\n",
      "Epoch 4615/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0240 - acc: 0.9904 - val_loss: 0.1564 - val_acc: 0.9574\n",
      "Epoch 4616/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0312 - acc: 0.9868 - val_loss: 0.1129 - val_acc: 0.9878\n",
      "Epoch 4617/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0159 - acc: 0.9949 - val_loss: 0.1296 - val_acc: 0.9858\n",
      "Epoch 4618/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0423 - acc: 0.9853 - val_loss: 0.1148 - val_acc: 0.9878\n",
      "Epoch 4619/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0624 - acc: 0.9726 - val_loss: 0.1228 - val_acc: 0.9858\n",
      "Epoch 4620/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0455 - acc: 0.9812 - val_loss: 0.1032 - val_acc: 0.9858\n",
      "Epoch 4621/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0371 - acc: 0.9848 - val_loss: 0.1053 - val_acc: 0.9858\n",
      "Epoch 4622/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0131 - acc: 0.9980 - val_loss: 0.1132 - val_acc: 0.9858\n",
      "Epoch 4623/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0157 - acc: 0.9954 - val_loss: 0.1126 - val_acc: 0.9858\n",
      "Epoch 4624/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0212 - acc: 0.9929 - val_loss: 0.1096 - val_acc: 0.9899\n",
      "Epoch 4625/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0601 - acc: 0.9756 - val_loss: 0.1336 - val_acc: 0.9777\n",
      "Epoch 4626/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0228 - acc: 0.9924 - val_loss: 0.1004 - val_acc: 0.9858\n",
      "Epoch 4627/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0252 - acc: 0.9904 - val_loss: 0.1072 - val_acc: 0.9797\n",
      "Epoch 4628/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0279 - acc: 0.9904 - val_loss: 0.0913 - val_acc: 0.9899\n",
      "Epoch 4629/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0288 - acc: 0.9904 - val_loss: 0.1024 - val_acc: 0.9817\n",
      "Epoch 4630/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0464 - acc: 0.9837 - val_loss: 0.2032 - val_acc: 0.9432\n",
      "Epoch 4631/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0261 - acc: 0.9893 - val_loss: 0.1148 - val_acc: 0.9858\n",
      "Epoch 4632/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0124 - acc: 0.9975 - val_loss: 0.1110 - val_acc: 0.9817\n",
      "Epoch 4633/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0177 - acc: 0.9944 - val_loss: 0.1344 - val_acc: 0.9757\n",
      "Epoch 4634/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0221 - acc: 0.9939 - val_loss: 0.1023 - val_acc: 0.9878\n",
      "Epoch 4635/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0211 - acc: 0.9909 - val_loss: 0.2631 - val_acc: 0.9351\n",
      "Epoch 4636/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0445 - acc: 0.9878 - val_loss: 0.0963 - val_acc: 0.9899\n",
      "Epoch 4637/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0382 - acc: 0.9822 - val_loss: 0.0971 - val_acc: 0.9858\n",
      "Epoch 4638/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0153 - acc: 0.9959 - val_loss: 0.1443 - val_acc: 0.9696\n",
      "Epoch 4639/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0437 - acc: 0.9812 - val_loss: 0.1713 - val_acc: 0.9594\n",
      "Epoch 4640/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0270 - acc: 0.9904 - val_loss: 0.1125 - val_acc: 0.9838\n",
      "Epoch 4641/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0142 - acc: 0.9964 - val_loss: 0.0992 - val_acc: 0.9858\n",
      "Epoch 4642/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0353 - acc: 0.9883 - val_loss: 0.1312 - val_acc: 0.9716\n",
      "Epoch 4643/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0143 - acc: 0.9959 - val_loss: 0.1173 - val_acc: 0.9838\n",
      "Epoch 4644/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0506 - acc: 0.9792 - val_loss: 0.1096 - val_acc: 0.9838\n",
      "Epoch 4645/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0198 - acc: 0.9934 - val_loss: 0.1124 - val_acc: 0.9797\n",
      "Epoch 4646/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0160 - acc: 0.9954 - val_loss: 0.0988 - val_acc: 0.9858\n",
      "Epoch 4647/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0154 - acc: 0.9944 - val_loss: 0.2475 - val_acc: 0.9412\n",
      "Epoch 4648/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0265 - acc: 0.9904 - val_loss: 0.1386 - val_acc: 0.9757\n",
      "Epoch 4649/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0257 - acc: 0.9898 - val_loss: 0.1604 - val_acc: 0.9533\n",
      "Epoch 4650/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0191 - acc: 0.9924 - val_loss: 0.1100 - val_acc: 0.9858\n",
      "Epoch 4651/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0396 - acc: 0.9863 - val_loss: 0.0994 - val_acc: 0.9858\n",
      "Epoch 4652/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0123 - acc: 0.9964 - val_loss: 0.1085 - val_acc: 0.9797\n",
      "Epoch 4653/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0131 - acc: 0.9975 - val_loss: 0.0946 - val_acc: 0.9817\n",
      "Epoch 4654/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0262 - acc: 0.9893 - val_loss: 0.2690 - val_acc: 0.9412\n",
      "Epoch 4655/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0625 - acc: 0.9751 - val_loss: 0.1433 - val_acc: 0.9655\n",
      "Epoch 4656/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0171 - acc: 0.9944 - val_loss: 0.1038 - val_acc: 0.9838\n",
      "Epoch 4657/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0198 - acc: 0.9929 - val_loss: 0.1460 - val_acc: 0.9675\n",
      "Epoch 4658/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0391 - acc: 0.984 - 0s - loss: 0.0581 - acc: 0.9787 - val_loss: 0.1194 - val_acc: 0.9838\n",
      "Epoch 4659/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0231 - acc: 0.9919 - val_loss: 0.1155 - val_acc: 0.9736\n",
      "Epoch 4660/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0156 - acc: 0.9959 - val_loss: 0.0935 - val_acc: 0.9899\n",
      "Epoch 4661/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0138 - acc: 0.9959 - val_loss: 0.1013 - val_acc: 0.9777\n",
      "Epoch 4662/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0145 - acc: 0.9964 - val_loss: 0.1148 - val_acc: 0.9817\n",
      "Epoch 4663/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0376 - acc: 0.9853 - val_loss: 0.2544 - val_acc: 0.9391\n",
      "Epoch 4664/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0270 - acc: 0.9914 - val_loss: 0.1952 - val_acc: 0.9473\n",
      "Epoch 4665/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0348 - acc: 0.9848 - val_loss: 0.1054 - val_acc: 0.9797\n",
      "Epoch 4666/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0209 - acc: 0.9904 - val_loss: 0.1139 - val_acc: 0.9878\n",
      "Epoch 4667/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0503 - acc: 0.9756 - val_loss: 0.1733 - val_acc: 0.9493\n",
      "Epoch 4668/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0407 - acc: 0.9812 - val_loss: 0.1006 - val_acc: 0.9878\n",
      "Epoch 4669/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0150 - acc: 0.9954 - val_loss: 0.1098 - val_acc: 0.9899\n",
      "Epoch 4670/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0172 - acc: 0.9924 - val_loss: 0.1711 - val_acc: 0.9615\n",
      "Epoch 4671/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0423 - acc: 0.9837 - val_loss: 0.1445 - val_acc: 0.9716\n",
      "Epoch 4672/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0225 - acc: 0.984 - 0s - loss: 0.0146 - acc: 0.9954 - val_loss: 0.1075 - val_acc: 0.9878\n",
      "Epoch 4673/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0496 - acc: 0.9807 - val_loss: 0.1035 - val_acc: 0.9899\n",
      "Epoch 4674/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0113 - acc: 0.9975 - val_loss: 0.1112 - val_acc: 0.9858\n",
      "Epoch 4675/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0113 - acc: 0.9975 - val_loss: 0.1502 - val_acc: 0.9615\n",
      "Epoch 4676/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0271 - acc: 0.9888 - val_loss: 0.1047 - val_acc: 0.9777\n",
      "Epoch 4677/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0119 - acc: 0.9975 - val_loss: 0.1048 - val_acc: 0.9838\n",
      "Epoch 4678/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0300 - acc: 0.9888 - val_loss: 0.1580 - val_acc: 0.9533\n",
      "Epoch 4679/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0437 - acc: 0.9843 - val_loss: 0.0895 - val_acc: 0.9899\n",
      "Epoch 4680/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0139 - acc: 0.9959 - val_loss: 0.0956 - val_acc: 0.9858\n",
      "Epoch 4681/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0115 - acc: 0.9980 - val_loss: 0.0913 - val_acc: 0.9858\n",
      "Epoch 4682/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0373 - acc: 0.9827 - val_loss: 0.4026 - val_acc: 0.9270\n",
      "Epoch 4683/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0351 - acc: 0.9919 - val_loss: 0.1042 - val_acc: 0.9878\n",
      "Epoch 4684/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0218 - acc: 0.9919 - val_loss: 0.1035 - val_acc: 0.9878\n",
      "Epoch 4685/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0149 - acc: 0.9949 - val_loss: 0.1256 - val_acc: 0.9757\n",
      "Epoch 4686/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0127 - acc: 0.9970 - val_loss: 0.1286 - val_acc: 0.9817\n",
      "Epoch 4687/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0126 - acc: 0.9964 - val_loss: 0.1007 - val_acc: 0.9878\n",
      "Epoch 4688/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0237 - acc: 0.9873 - val_loss: 0.1045 - val_acc: 0.9878\n",
      "Epoch 4689/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0301 - acc: 0.9893 - val_loss: 0.3132 - val_acc: 0.9290\n",
      "Epoch 4690/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0817 - acc: 0.9736 - val_loss: 0.1202 - val_acc: 0.9817\n",
      "Epoch 4691/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0116 - acc: 0.9980 - val_loss: 0.1576 - val_acc: 0.9696\n",
      "Epoch 4692/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0205 - acc: 0.9934 - val_loss: 0.1393 - val_acc: 0.9817\n",
      "Epoch 4693/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0177 - acc: 0.9934 - val_loss: 0.1042 - val_acc: 0.9858\n",
      "Epoch 4694/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0144 - acc: 0.9954 - val_loss: 0.1059 - val_acc: 0.9899\n",
      "Epoch 4695/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0620 - acc: 0.9777 - val_loss: 0.1103 - val_acc: 0.9817\n",
      "Epoch 4696/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0143 - acc: 0.9964 - val_loss: 0.1185 - val_acc: 0.9878\n",
      "Epoch 4697/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0106 - acc: 0.9985 - val_loss: 0.1146 - val_acc: 0.9899\n",
      "Epoch 4698/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0108 - acc: 0.9975 - val_loss: 0.2125 - val_acc: 0.9473\n",
      "Epoch 4699/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0559 - acc: 0.9782 - val_loss: 0.1282 - val_acc: 0.9858\n",
      "Epoch 4700/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0119 - acc: 0.9975 - val_loss: 0.1082 - val_acc: 0.9899\n",
      "Epoch 4701/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0094 - acc: 0.9980 - val_loss: 0.1221 - val_acc: 0.9858\n",
      "Epoch 4702/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0129 - acc: 0.9975 - val_loss: 0.1176 - val_acc: 0.9817\n",
      "Epoch 4703/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0209 - acc: 0.9904 - val_loss: 0.1161 - val_acc: 0.9899\n",
      "Epoch 4704/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0310 - acc: 0.9888 - val_loss: 0.0970 - val_acc: 0.9878\n",
      "Epoch 4705/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0129 - acc: 0.9970 - val_loss: 0.1372 - val_acc: 0.9675\n",
      "Epoch 4706/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0265 - acc: 0.9888 - val_loss: 0.2006 - val_acc: 0.9473\n",
      "Epoch 4707/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0494 - acc: 0.9782 - val_loss: 0.1231 - val_acc: 0.9838\n",
      "Epoch 4708/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0380 - acc: 0.9863 - val_loss: 0.1084 - val_acc: 0.9878\n",
      "Epoch 4709/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0122 - acc: 0.9975 - val_loss: 0.1202 - val_acc: 0.9878\n",
      "Epoch 4710/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0496 - acc: 0.9771 - val_loss: 0.1258 - val_acc: 0.9797\n",
      "Epoch 4711/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0486 - acc: 0.9782 - val_loss: 0.1197 - val_acc: 0.9817\n",
      "Epoch 4712/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0134 - acc: 0.9954 - val_loss: 0.1213 - val_acc: 0.9899\n",
      "Epoch 4713/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0119 - acc: 0.9980 - val_loss: 0.1185 - val_acc: 0.98990.996\n",
      "Epoch 4714/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0187 - acc: 0.9929 - val_loss: 0.1175 - val_acc: 0.9838\n",
      "Epoch 4715/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0584 - acc: 0.975 - 0s - loss: 0.0559 - acc: 0.9761 - val_loss: 0.1271 - val_acc: 0.9817\n",
      "Epoch 4716/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0139 - acc: 0.9949 - val_loss: 0.1502 - val_acc: 0.9716\n",
      "Epoch 4717/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0508 - acc: 0.9777 - val_loss: 0.1278 - val_acc: 0.9696\n",
      "Epoch 4718/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0481 - acc: 0.9812 - val_loss: 0.0856 - val_acc: 0.9919\n",
      "Epoch 4719/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0171 - acc: 0.9929 - val_loss: 0.1106 - val_acc: 0.9757\n",
      "Epoch 4720/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0184 - acc: 0.9909 - val_loss: 0.0855 - val_acc: 0.9899\n",
      "Epoch 4721/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0180 - acc: 0.9919 - val_loss: 0.1550 - val_acc: 0.9574\n",
      "Epoch 4722/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0232 - acc: 0.9914 - val_loss: 0.0964 - val_acc: 0.9858\n",
      "Epoch 4723/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0400 - acc: 0.9853 - val_loss: 0.0931 - val_acc: 0.9858\n",
      "Epoch 4724/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0308 - acc: 0.9883 - val_loss: 0.1058 - val_acc: 0.9838\n",
      "Epoch 4725/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0180 - acc: 0.9929 - val_loss: 0.0886 - val_acc: 0.9899\n",
      "Epoch 4726/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0148 - acc: 0.9934 - val_loss: 0.0933 - val_acc: 0.9899\n",
      "Epoch 4727/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0167 - acc: 0.9949 - val_loss: 0.0916 - val_acc: 0.9838\n",
      "Epoch 4728/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0129 - acc: 0.9964 - val_loss: 0.0933 - val_acc: 0.9878\n",
      "Epoch 4729/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0453 - acc: 0.9812 - val_loss: 0.0851 - val_acc: 0.9919\n",
      "Epoch 4730/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0142 - acc: 0.9949 - val_loss: 0.0900 - val_acc: 0.9858\n",
      "Epoch 4731/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0635 - acc: 0.9721 - val_loss: 0.1099 - val_acc: 0.9878\n",
      "Epoch 4732/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0121 - acc: 0.9970 - val_loss: 0.0900 - val_acc: 0.9899\n",
      "Epoch 4733/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0108 - acc: 0.9970 - val_loss: 0.1556 - val_acc: 0.9635\n",
      "Epoch 4734/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0267 - acc: 0.9919 - val_loss: 0.0907 - val_acc: 0.9878\n",
      "Epoch 4735/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0125 - acc: 0.9964 - val_loss: 0.0864 - val_acc: 0.9919\n",
      "Epoch 4736/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0102 - acc: 0.9970 - val_loss: 0.0872 - val_acc: 0.9878\n",
      "Epoch 4737/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0140 - acc: 0.9970 - val_loss: 0.0921 - val_acc: 0.9858\n",
      "Epoch 4738/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0468 - acc: 0.9822 - val_loss: 0.2753 - val_acc: 0.9351\n",
      "Epoch 4739/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0426 - acc: 0.9822 - val_loss: 0.0933 - val_acc: 0.98380.982\n",
      "Epoch 4740/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0210 - acc: 0.9914 - val_loss: 0.1375 - val_acc: 0.9696\n",
      "Epoch 4741/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0294 - acc: 0.9909 - val_loss: 0.0908 - val_acc: 0.9878\n",
      "Epoch 4742/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0149 - acc: 0.996 - 0s - loss: 0.0132 - acc: 0.9970 - val_loss: 0.0899 - val_acc: 0.9899\n",
      "Epoch 4743/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0532 - acc: 0.9756 - val_loss: 0.1456 - val_acc: 0.9635\n",
      "Epoch 4744/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0860 - acc: 0.9685 - val_loss: 0.1261 - val_acc: 0.9757\n",
      "Epoch 4745/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0199 - acc: 0.9929 - val_loss: 0.1213 - val_acc: 0.9838\n",
      "Epoch 4746/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0148 - acc: 0.9949 - val_loss: 0.1228 - val_acc: 0.9858\n",
      "Epoch 4747/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0119 - acc: 0.9985 - val_loss: 0.1145 - val_acc: 0.9878\n",
      "Epoch 4748/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0253 - acc: 0.9904 - val_loss: 0.1362 - val_acc: 0.9797\n",
      "Epoch 4749/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0136 - acc: 0.9959 - val_loss: 0.2010 - val_acc: 0.9594\n",
      "Epoch 4750/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0256 - acc: 0.9919 - val_loss: 0.1080 - val_acc: 0.9878\n",
      "Epoch 4751/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0646 - acc: 0.9766 - val_loss: 0.0894 - val_acc: 0.9899\n",
      "Epoch 4752/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0581 - acc: 0.983 - 0s - loss: 0.0469 - acc: 0.9868 - val_loss: 0.0894 - val_acc: 0.9858\n",
      "Epoch 4753/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0204 - acc: 0.9959 - val_loss: 0.0867 - val_acc: 0.9899\n",
      "Epoch 4754/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0196 - acc: 0.9970 - val_loss: 0.1330 - val_acc: 0.9696\n",
      "Epoch 4755/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0283 - acc: 0.9898 - val_loss: 0.0848 - val_acc: 0.9919\n",
      "Epoch 4756/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0199 - acc: 0.9964 - val_loss: 0.1265 - val_acc: 0.9736\n",
      "Epoch 4757/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0310 - acc: 0.9914 - val_loss: 0.1702 - val_acc: 0.9513\n",
      "Epoch 4758/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0675 - acc: 0.9751 - val_loss: 0.0898 - val_acc: 0.9878\n",
      "Epoch 4759/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0297 - acc: 0.9919 - val_loss: 0.0908 - val_acc: 0.9878\n",
      "Epoch 4760/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0225 - acc: 0.9954 - val_loss: 0.1180 - val_acc: 0.9696\n",
      "Epoch 4761/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0549 - acc: 0.9807 - val_loss: 0.0863 - val_acc: 0.9899\n",
      "Epoch 4762/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0125 - acc: 0.9970 - val_loss: 0.0890 - val_acc: 0.9899\n",
      "Epoch 4763/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0100 - acc: 0.9970 - val_loss: 0.0918 - val_acc: 0.9838\n",
      "Epoch 4764/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0190 - acc: 0.9929 - val_loss: 0.1007 - val_acc: 0.9858\n",
      "Epoch 4765/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0208 - acc: 0.9924 - val_loss: 0.0998 - val_acc: 0.9817\n",
      "Epoch 4766/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0504 - acc: 0.9797 - val_loss: 0.2540 - val_acc: 0.94520.981\n",
      "Epoch 4767/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0483 - acc: 0.9787 - val_loss: 0.0917 - val_acc: 0.9878\n",
      "Epoch 4768/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0130 - acc: 0.9970 - val_loss: 0.1035 - val_acc: 0.9777\n",
      "Epoch 4769/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0184 - acc: 0.9939 - val_loss: 0.0854 - val_acc: 0.9899\n",
      "Epoch 4770/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0146 - acc: 0.9964 - val_loss: 0.0898 - val_acc: 0.9858\n",
      "Epoch 4771/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0328 - acc: 0.9873 - val_loss: 0.0886 - val_acc: 0.9899\n",
      "Epoch 4772/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0199 - acc: 0.9934 - val_loss: 0.1690 - val_acc: 0.9615\n",
      "Epoch 4773/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0139 - acc: 0.9975 - val_loss: 0.1182 - val_acc: 0.9716\n",
      "Epoch 4774/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0346 - acc: 0.9848 - val_loss: 0.0859 - val_acc: 0.9878\n",
      "Epoch 4775/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0136 - acc: 0.9949 - val_loss: 0.0997 - val_acc: 0.9777\n",
      "Epoch 4776/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0572 - acc: 0.9782 - val_loss: 0.1079 - val_acc: 0.9736\n",
      "Epoch 4777/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0312 - acc: 0.9898 - val_loss: 0.0909 - val_acc: 0.9878\n",
      "Epoch 4778/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0196 - acc: 0.9929 - val_loss: 0.0838 - val_acc: 0.9919\n",
      "Epoch 4779/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0112 - acc: 0.9980 - val_loss: 0.1032 - val_acc: 0.9777\n",
      "Epoch 4780/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0232 - acc: 0.9919 - val_loss: 0.2737 - val_acc: 0.9351\n",
      "Epoch 4781/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0518 - acc: 0.9883 - val_loss: 0.0877 - val_acc: 0.9878\n",
      "Epoch 4782/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0125 - acc: 0.9964 - val_loss: 0.0865 - val_acc: 0.9878\n",
      "Epoch 4783/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0137 - acc: 0.9959 - val_loss: 0.1019 - val_acc: 0.9858\n",
      "Epoch 4784/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0364 - acc: 0.9822 - val_loss: 0.2067 - val_acc: 0.9513\n",
      "Epoch 4785/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0264 - acc: 0.9888 - val_loss: 0.0934 - val_acc: 0.9858\n",
      "Epoch 4786/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0133 - acc: 0.9970 - val_loss: 0.0995 - val_acc: 0.9797\n",
      "Epoch 4787/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0189 - acc: 0.9919 - val_loss: 0.0931 - val_acc: 0.9899\n",
      "Epoch 4788/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0245 - acc: 0.9909 - val_loss: 0.0897 - val_acc: 0.9878\n",
      "Epoch 4789/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0024 - acc: 1.000 - 0s - loss: 0.0252 - acc: 0.9909 - val_loss: 0.0857 - val_acc: 0.9919\n",
      "Epoch 4790/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0116 - acc: 0.9980 - val_loss: 0.0861 - val_acc: 0.9919\n",
      "Epoch 4791/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0642 - acc: 0.9761 - val_loss: 0.0961 - val_acc: 0.9858\n",
      "Epoch 4792/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0147 - acc: 0.9964 - val_loss: 0.0844 - val_acc: 0.9899\n",
      "Epoch 4793/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0105 - acc: 0.9975 - val_loss: 0.0863 - val_acc: 0.9878\n",
      "Epoch 4794/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0105 - acc: 0.9975 - val_loss: 0.0955 - val_acc: 0.9878\n",
      "Epoch 4795/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0142 - acc: 0.9959 - val_loss: 0.1353 - val_acc: 0.9696\n",
      "Epoch 4796/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0269 - acc: 0.9873 - val_loss: 0.1157 - val_acc: 0.9797\n",
      "Epoch 4797/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0303 - acc: 0.9863 - val_loss: 0.0939 - val_acc: 0.9858\n",
      "Epoch 4798/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0469 - acc: 0.9822 - val_loss: 0.1160 - val_acc: 0.9817\n",
      "Epoch 4799/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0155 - acc: 0.9949 - val_loss: 0.0945 - val_acc: 0.9899\n",
      "Epoch 4800/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0113 - acc: 0.9980 - val_loss: 0.1015 - val_acc: 0.9899\n",
      "Epoch 4801/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0265 - acc: 0.9888 - val_loss: 0.0855 - val_acc: 0.9919\n",
      "Epoch 4802/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0099 - acc: 0.9980 - val_loss: 0.0946 - val_acc: 0.9878\n",
      "Epoch 4803/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0204 - acc: 0.9914 - val_loss: 0.2457 - val_acc: 0.9473\n",
      "Epoch 4804/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0497 - acc: 0.9802 - val_loss: 0.1221 - val_acc: 0.9655\n",
      "Epoch 4805/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0142 - acc: 0.9954 - val_loss: 0.1095 - val_acc: 0.9878\n",
      "Epoch 4806/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0193 - acc: 0.9924 - val_loss: 0.0859 - val_acc: 0.9899\n",
      "Epoch 4807/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0169 - acc: 1.000 - 0s - loss: 0.0154 - acc: 0.9939 - val_loss: 0.1054 - val_acc: 0.9838\n",
      "Epoch 4808/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0087 - acc: 0.9995 - val_loss: 0.0874 - val_acc: 0.9899\n",
      "Epoch 4809/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0151 - acc: 0.9929 - val_loss: 0.0861 - val_acc: 0.9878\n",
      "Epoch 4810/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0332 - acc: 0.9883 - val_loss: 0.0829 - val_acc: 0.9919\n",
      "Epoch 4811/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0100 - acc: 0.9975 - val_loss: 0.0935 - val_acc: 0.9878\n",
      "Epoch 4812/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0223 - acc: 0.9914 - val_loss: 0.1243 - val_acc: 0.9696\n",
      "Epoch 4813/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0345 - acc: 0.9858 - val_loss: 0.2446 - val_acc: 0.9493\n",
      "Epoch 4814/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0462 - acc: 0.9858 - val_loss: 0.1253 - val_acc: 0.9716\n",
      "Epoch 4815/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0279 - acc: 0.9883 - val_loss: 0.1210 - val_acc: 0.9736\n",
      "Epoch 4816/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0163 - acc: 0.9934 - val_loss: 0.0989 - val_acc: 0.9858\n",
      "Epoch 4817/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0113 - acc: 0.9985 - val_loss: 0.1074 - val_acc: 0.9878\n",
      "Epoch 4818/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0119 - acc: 0.9975 - val_loss: 0.0972 - val_acc: 0.9878\n",
      "Epoch 4819/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0314 - acc: 0.9868 - val_loss: 0.2848 - val_acc: 0.9331\n",
      "Epoch 4820/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0343 - acc: 0.9878 - val_loss: 0.1217 - val_acc: 0.9817\n",
      "Epoch 4821/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0223 - acc: 0.9919 - val_loss: 0.0865 - val_acc: 0.9878\n",
      "Epoch 4822/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0242 - acc: 0.9929 - val_loss: 0.0859 - val_acc: 0.9858\n",
      "Epoch 4823/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0231 - acc: 0.9898 - val_loss: 0.3303 - val_acc: 0.9412\n",
      "Epoch 4824/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0427 - acc: 0.9878 - val_loss: 0.1103 - val_acc: 0.9797\n",
      "Epoch 4825/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0147 - acc: 0.9949 - val_loss: 0.0892 - val_acc: 0.9878\n",
      "Epoch 4826/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0157 - acc: 0.9934 - val_loss: 0.0983 - val_acc: 0.9899\n",
      "Epoch 4827/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0333 - acc: 0.9843 - val_loss: 0.1557 - val_acc: 0.9696\n",
      "Epoch 4828/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0350 - acc: 0.9858 - val_loss: 0.1049 - val_acc: 0.9878\n",
      "Epoch 4829/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0226 - acc: 0.9919 - val_loss: 0.1025 - val_acc: 0.9899\n",
      "Epoch 4830/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0108 - acc: 0.9980 - val_loss: 0.1080 - val_acc: 0.9878\n",
      "Epoch 4831/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0181 - acc: 0.9939 - val_loss: 0.1078 - val_acc: 0.9777\n",
      "Epoch 4832/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0390 - acc: 0.9858 - val_loss: 0.1029 - val_acc: 0.9838\n",
      "Epoch 4833/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0195 - acc: 0.9939 - val_loss: 0.1151 - val_acc: 0.9858\n",
      "Epoch 4834/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0134 - acc: 0.9964 - val_loss: 0.1666 - val_acc: 0.9615\n",
      "Epoch 4835/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0436 - acc: 0.968 - 0s - loss: 0.0324 - acc: 0.9878 - val_loss: 0.1216 - val_acc: 0.9777\n",
      "Epoch 4836/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0150 - acc: 0.9954 - val_loss: 0.0975 - val_acc: 0.9899\n",
      "Epoch 4837/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0124 - acc: 0.9959 - val_loss: 0.1072 - val_acc: 0.9878\n",
      "Epoch 4838/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0296 - acc: 0.9888 - val_loss: 0.1288 - val_acc: 0.9838\n",
      "Epoch 4839/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0216 - acc: 0.9914 - val_loss: 0.0892 - val_acc: 0.9858\n",
      "Epoch 4840/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0338 - acc: 0.9873 - val_loss: 0.0950 - val_acc: 0.9899\n",
      "Epoch 4841/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0168 - acc: 0.9949 - val_loss: 0.0892 - val_acc: 0.9899\n",
      "Epoch 4842/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0091 - acc: 0.9975 - val_loss: 0.0988 - val_acc: 0.9838\n",
      "Epoch 4843/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0177 - acc: 0.9959 - val_loss: 0.0845 - val_acc: 0.9919\n",
      "Epoch 4844/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0415 - acc: 0.9853 - val_loss: 0.1108 - val_acc: 0.9797\n",
      "Epoch 4845/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0120 - acc: 0.9959 - val_loss: 0.0960 - val_acc: 0.9899\n",
      "Epoch 4846/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0245 - acc: 0.9909 - val_loss: 0.1050 - val_acc: 0.9817\n",
      "Epoch 4847/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0397 - acc: 0.9837 - val_loss: 0.1168 - val_acc: 0.9757\n",
      "Epoch 4848/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0106 - acc: 0.9980 - val_loss: 0.0992 - val_acc: 0.9858\n",
      "Epoch 4849/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0184 - acc: 0.9944 - val_loss: 0.2099 - val_acc: 0.9493\n",
      "Epoch 4850/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0394 - acc: 0.9878 - val_loss: 0.1214 - val_acc: 0.9878\n",
      "Epoch 4851/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0106 - acc: 0.9980 - val_loss: 0.1076 - val_acc: 0.9899\n",
      "Epoch 4852/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0112 - acc: 0.9975 - val_loss: 0.1023 - val_acc: 0.9899\n",
      "Epoch 4853/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0099 - acc: 0.9980 - val_loss: 0.1040 - val_acc: 0.9858\n",
      "Epoch 4854/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0301 - acc: 0.9904 - val_loss: 0.0841 - val_acc: 0.9919\n",
      "Epoch 4855/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0127 - acc: 0.9949 - val_loss: 0.0866 - val_acc: 0.9899\n",
      "Epoch 4856/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0235 - acc: 0.9904 - val_loss: 0.1834 - val_acc: 0.9574\n",
      "Epoch 4857/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0274 - acc: 0.9883 - val_loss: 0.0881 - val_acc: 0.9899\n",
      "Epoch 4858/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0222 - acc: 0.9898 - val_loss: 0.1150 - val_acc: 0.9817\n",
      "Epoch 4859/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0097 - acc: 0.9975 - val_loss: 0.0987 - val_acc: 0.9878\n",
      "Epoch 4860/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0094 - acc: 0.9975 - val_loss: 0.0897 - val_acc: 0.9878\n",
      "Epoch 4861/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0454 - acc: 0.9807 - val_loss: 0.0933 - val_acc: 0.9838\n",
      "Epoch 4862/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0104 - acc: 0.9980 - val_loss: 0.0867 - val_acc: 0.9899\n",
      "Epoch 4863/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0316 - acc: 0.9888 - val_loss: 0.0948 - val_acc: 0.9878\n",
      "Epoch 4864/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0148 - acc: 0.9959 - val_loss: 0.1162 - val_acc: 0.9757\n",
      "Epoch 4865/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0209 - acc: 0.9924 - val_loss: 0.0856 - val_acc: 0.9878\n",
      "Epoch 4866/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0221 - acc: 0.9929 - val_loss: 0.1114 - val_acc: 0.9757\n",
      "Epoch 4867/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0210 - acc: 0.9909 - val_loss: 0.1129 - val_acc: 0.9858\n",
      "Epoch 4868/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0525 - acc: 0.9837 - val_loss: 0.1239 - val_acc: 0.9696\n",
      "Epoch 4869/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0112 - acc: 0.9970 - val_loss: 0.1143 - val_acc: 0.9878\n",
      "Epoch 4870/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0649 - acc: 0.9787 - val_loss: 0.0837 - val_acc: 0.9899\n",
      "Epoch 4871/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0100 - acc: 0.9980 - val_loss: 0.0839 - val_acc: 0.9899\n",
      "Epoch 4872/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0086 - acc: 0.9990 - val_loss: 0.0848 - val_acc: 0.9899\n",
      "Epoch 4873/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0086 - acc: 0.9990 - val_loss: 0.0858 - val_acc: 0.9899\n",
      "Epoch 4874/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0506 - acc: 0.9782 - val_loss: 0.0884 - val_acc: 0.9919\n",
      "Epoch 4875/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0131 - acc: 0.9970 - val_loss: 0.0876 - val_acc: 0.9858\n",
      "Epoch 4876/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0269 - acc: 0.9893 - val_loss: 0.2281 - val_acc: 0.9351\n",
      "Epoch 4877/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0243 - acc: 0.9934 - val_loss: 0.1011 - val_acc: 0.9797\n",
      "Epoch 4878/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0105 - acc: 0.9964 - val_loss: 0.0827 - val_acc: 0.9919\n",
      "Epoch 4879/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0188 - acc: 0.9929 - val_loss: 0.1071 - val_acc: 0.9757\n",
      "Epoch 4880/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0302 - acc: 0.9888 - val_loss: 0.0984 - val_acc: 0.9817\n",
      "Epoch 4881/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0165 - acc: 0.9944 - val_loss: 0.0828 - val_acc: 0.9919\n",
      "Epoch 4882/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0206 - acc: 0.9898 - val_loss: 0.0927 - val_acc: 0.9858\n",
      "Epoch 4883/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0095 - acc: 0.9980 - val_loss: 0.1366 - val_acc: 0.9716\n",
      "Epoch 4884/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0244 - acc: 0.9919 - val_loss: 0.1018 - val_acc: 0.9858\n",
      "Epoch 4885/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0202 - acc: 0.9929 - val_loss: 0.1722 - val_acc: 0.9554\n",
      "Epoch 4886/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0328 - acc: 0.9868 - val_loss: 0.1587 - val_acc: 0.9574\n",
      "Epoch 4887/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0757 - acc: 0.9705 - val_loss: 0.0848 - val_acc: 0.9919\n",
      "Epoch 4888/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0254 - acc: 0.9904 - val_loss: 0.0833 - val_acc: 0.9899\n",
      "Epoch 4889/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0708 - acc: 0.9817 - val_loss: 0.0999 - val_acc: 0.9838\n",
      "Epoch 4890/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0141 - acc: 0.9975 - val_loss: 0.0882 - val_acc: 0.9899\n",
      "Epoch 4891/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0128 - acc: 0.9964 - val_loss: 0.0992 - val_acc: 0.9797\n",
      "Epoch 4892/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0107 - acc: 0.9970 - val_loss: 0.0850 - val_acc: 0.9878\n",
      "Epoch 4893/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0113 - acc: 0.9959 - val_loss: 0.0853 - val_acc: 0.9919\n",
      "Epoch 4894/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0151 - acc: 0.9944 - val_loss: 0.0877 - val_acc: 0.9899\n",
      "Epoch 4895/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0606 - acc: 0.9761 - val_loss: 0.2520 - val_acc: 0.9412\n",
      "Epoch 4896/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0311 - acc: 0.9863 - val_loss: 0.1120 - val_acc: 0.9777\n",
      "Epoch 4897/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0586 - acc: 0.9792 - val_loss: 0.0843 - val_acc: 0.9919\n",
      "Epoch 4898/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0203 - acc: 0.9904 - val_loss: 0.2936 - val_acc: 0.9351\n",
      "Epoch 4899/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0384 - acc: 0.9848 - val_loss: 0.0825 - val_acc: 0.9899\n",
      "Epoch 4900/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0125 - acc: 0.9959 - val_loss: 0.0854 - val_acc: 0.9899\n",
      "Epoch 4901/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0261 - acc: 0.9904 - val_loss: 0.0963 - val_acc: 0.9878\n",
      "Epoch 4902/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0137 - acc: 0.9949 - val_loss: 0.0946 - val_acc: 0.9899\n",
      "Epoch 4903/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0136 - acc: 0.9959 - val_loss: 0.0894 - val_acc: 0.9899\n",
      "Epoch 4904/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0167 - acc: 0.9964 - val_loss: 0.1202 - val_acc: 0.9675\n",
      "Epoch 4905/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0199 - acc: 0.9934 - val_loss: 0.0900 - val_acc: 0.9899\n",
      "Epoch 4906/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0242 - acc: 0.9868 - val_loss: 0.0980 - val_acc: 0.9777\n",
      "Epoch 4907/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0327 - acc: 0.9858 - val_loss: 0.0912 - val_acc: 0.9878\n",
      "Epoch 4908/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0229 - acc: 0.9909 - val_loss: 0.0934 - val_acc: 0.9838\n",
      "Epoch 4909/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0189 - acc: 0.9939 - val_loss: 0.2177 - val_acc: 0.9493\n",
      "Epoch 4910/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0281 - acc: 0.9909 - val_loss: 0.1302 - val_acc: 0.9655\n",
      "Epoch 4911/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0393 - acc: 0.9858 - val_loss: 0.1286 - val_acc: 0.9675\n",
      "Epoch 4912/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0342 - acc: 0.9837 - val_loss: 0.0831 - val_acc: 0.9878\n",
      "Epoch 4913/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0172 - acc: 0.9939 - val_loss: 0.0895 - val_acc: 0.9899\n",
      "Epoch 4914/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0107 - acc: 0.9970 - val_loss: 0.0994 - val_acc: 0.9858\n",
      "Epoch 4915/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0190 - acc: 0.9919 - val_loss: 0.1207 - val_acc: 0.9797\n",
      "Epoch 4916/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0271 - acc: 0.9878 - val_loss: 0.1311 - val_acc: 0.9696\n",
      "Epoch 4917/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0625 - acc: 0.9756 - val_loss: 0.0976 - val_acc: 0.9838\n",
      "Epoch 4918/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0163 - acc: 0.9944 - val_loss: 0.1222 - val_acc: 0.9797\n",
      "Epoch 4919/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0096 - acc: 0.9964 - val_loss: 0.0869 - val_acc: 0.9878\n",
      "Epoch 4920/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0158 - acc: 0.9949 - val_loss: 0.1825 - val_acc: 0.9533\n",
      "Epoch 4921/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0258 - acc: 0.9919 - val_loss: 0.1882 - val_acc: 0.9554\n",
      "Epoch 4922/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0532 - acc: 0.9822 - val_loss: 0.1277 - val_acc: 0.9797\n",
      "Epoch 4923/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0114 - acc: 0.9970 - val_loss: 0.0903 - val_acc: 0.9878\n",
      "Epoch 4924/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0270 - acc: 0.9883 - val_loss: 0.2536 - val_acc: 0.9331\n",
      "Epoch 4925/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0418 - acc: 0.9843 - val_loss: 0.0870 - val_acc: 0.9899\n",
      "Epoch 4926/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0095 - acc: 0.9985 - val_loss: 0.1057 - val_acc: 0.9817\n",
      "Epoch 4927/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0111 - acc: 0.9975 - val_loss: 0.1101 - val_acc: 0.9899\n",
      "Epoch 4928/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0130 - acc: 0.9959 - val_loss: 0.1099 - val_acc: 0.9899\n",
      "Epoch 4929/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0199 - acc: 0.9929 - val_loss: 0.1182 - val_acc: 0.9817\n",
      "Epoch 4930/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0741 - acc: 0.9741 - val_loss: 0.0870 - val_acc: 0.9919\n",
      "Epoch 4931/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0098 - acc: 0.9985 - val_loss: 0.0899 - val_acc: 0.9878\n",
      "Epoch 4932/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0095 - acc: 0.9980 - val_loss: 0.1107 - val_acc: 0.9858\n",
      "Epoch 4933/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0185 - acc: 0.9929 - val_loss: 0.0986 - val_acc: 0.9858\n",
      "Epoch 4934/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0137 - acc: 0.9959 - val_loss: 0.0842 - val_acc: 0.9899\n",
      "Epoch 4935/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0591 - acc: 0.9787 - val_loss: 0.4869 - val_acc: 0.9108\n",
      "Epoch 4936/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0867 - acc: 0.9761 - val_loss: 0.1151 - val_acc: 0.9777\n",
      "Epoch 4937/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0149 - acc: 0.9954 - val_loss: 0.1108 - val_acc: 0.9858\n",
      "Epoch 4938/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0160 - acc: 0.9949 - val_loss: 0.1050 - val_acc: 0.9899\n",
      "Epoch 4939/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0133 - acc: 0.9954 - val_loss: 0.1022 - val_acc: 0.9878\n",
      "Epoch 4940/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0098 - acc: 0.9975 - val_loss: 0.1036 - val_acc: 0.9878\n",
      "Epoch 4941/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0115 - acc: 0.9959 - val_loss: 0.1047 - val_acc: 0.9899\n",
      "Epoch 4942/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0385 - acc: 0.9848 - val_loss: 0.2625 - val_acc: 0.9452\n",
      "Epoch 4943/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0334 - acc: 0.9904 - val_loss: 0.1186 - val_acc: 0.9817\n",
      "Epoch 4944/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0265 - acc: 0.9893 - val_loss: 0.0973 - val_acc: 0.9858\n",
      "Epoch 4945/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0210 - acc: 0.9909 - val_loss: 0.0984 - val_acc: 0.9878\n",
      "Epoch 4946/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0132 - acc: 0.9970 - val_loss: 0.1133 - val_acc: 0.9777\n",
      "Epoch 4947/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0764 - acc: 0.9726 - val_loss: 0.1474 - val_acc: 0.9675\n",
      "Epoch 4948/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0317 - acc: 0.9853 - val_loss: 0.0968 - val_acc: 0.9858\n",
      "Epoch 4949/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0148 - acc: 0.9939 - val_loss: 0.0987 - val_acc: 0.9838\n",
      "Epoch 4950/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0129 - acc: 0.9949 - val_loss: 0.2072 - val_acc: 0.9452\n",
      "Epoch 4951/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0134 - acc: 0.9975 - val_loss: 0.0906 - val_acc: 0.9878\n",
      "Epoch 4952/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0224 - acc: 0.9914 - val_loss: 0.2382 - val_acc: 0.9493\n",
      "Epoch 4953/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0402 - acc: 0.9848 - val_loss: 0.2015 - val_acc: 0.9473\n",
      "Epoch 4954/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0627 - acc: 0.9741 - val_loss: 0.1013 - val_acc: 0.9878\n",
      "Epoch 4955/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0179 - acc: 0.9924 - val_loss: 0.0887 - val_acc: 0.9899\n",
      "Epoch 4956/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0118 - acc: 0.9964 - val_loss: 0.1071 - val_acc: 0.9817\n",
      "Epoch 4957/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0158 - acc: 0.9934 - val_loss: 0.0944 - val_acc: 0.9899\n",
      "Epoch 4958/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0409 - acc: 0.9853 - val_loss: 0.0983 - val_acc: 0.9838\n",
      "Epoch 4959/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0115 - acc: 0.9970 - val_loss: 0.0937 - val_acc: 0.9899\n",
      "Epoch 4960/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0098 - acc: 0.9980 - val_loss: 0.0980 - val_acc: 0.9878\n",
      "Epoch 4961/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0109 - acc: 0.9975 - val_loss: 0.0961 - val_acc: 0.9878\n",
      "Epoch 4962/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0189 - acc: 0.9924 - val_loss: 0.0833 - val_acc: 0.9919\n",
      "Epoch 4963/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0093 - acc: 0.9980 - val_loss: 0.0859 - val_acc: 0.9919\n",
      "Epoch 4964/5000\n",
      "1969/1969 [==============================] - ETA: 0s - loss: 0.0107 - acc: 1.000 - 0s - loss: 0.0130 - acc: 0.9964 - val_loss: 0.0948 - val_acc: 0.9858\n",
      "Epoch 4965/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0138 - acc: 0.9959 - val_loss: 0.1108 - val_acc: 0.9777\n",
      "Epoch 4966/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0343 - acc: 0.9853 - val_loss: 0.1184 - val_acc: 0.9817\n",
      "Epoch 4967/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0221 - acc: 0.9939 - val_loss: 0.0892 - val_acc: 0.9878\n",
      "Epoch 4968/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0165 - acc: 0.9934 - val_loss: 0.1387 - val_acc: 0.9696\n",
      "Epoch 4969/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0141 - acc: 0.9954 - val_loss: 0.2943 - val_acc: 0.9351\n",
      "Epoch 4970/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0287 - acc: 0.9909 - val_loss: 0.3109 - val_acc: 0.9412\n",
      "Epoch 4971/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0281 - acc: 0.9883 - val_loss: 0.0891 - val_acc: 0.9899\n",
      "Epoch 4972/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0121 - acc: 0.9975 - val_loss: 0.2496 - val_acc: 0.9391\n",
      "Epoch 4973/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0350 - acc: 0.9873 - val_loss: 0.0874 - val_acc: 0.9899\n",
      "Epoch 4974/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0094 - acc: 0.9990 - val_loss: 0.1113 - val_acc: 0.9757\n",
      "Epoch 4975/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0153 - acc: 0.9944 - val_loss: 0.1098 - val_acc: 0.9757\n",
      "Epoch 4976/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0148 - acc: 0.9944 - val_loss: 0.1734 - val_acc: 0.9615\n",
      "Epoch 4977/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0209 - acc: 0.9939 - val_loss: 0.0824 - val_acc: 0.9899\n",
      "Epoch 4978/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0330 - acc: 0.9863 - val_loss: 0.2670 - val_acc: 0.9310\n",
      "Epoch 4979/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0308 - acc: 0.9883 - val_loss: 0.0822 - val_acc: 0.9899\n",
      "Epoch 4980/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0104 - acc: 0.9975 - val_loss: 0.0908 - val_acc: 0.9858\n",
      "Epoch 4981/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0280 - acc: 0.9898 - val_loss: 0.0861 - val_acc: 0.9878\n",
      "Epoch 4982/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0285 - acc: 0.9883 - val_loss: 0.1101 - val_acc: 0.9797\n",
      "Epoch 4983/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0509 - acc: 0.9822 - val_loss: 0.1008 - val_acc: 0.9777\n",
      "Epoch 4984/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0094 - acc: 0.9985 - val_loss: 0.1260 - val_acc: 0.9777\n",
      "Epoch 4985/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0294 - acc: 0.9919 - val_loss: 0.0966 - val_acc: 0.9858\n",
      "Epoch 4986/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0158 - acc: 0.9944 - val_loss: 0.0923 - val_acc: 0.9878\n",
      "Epoch 4987/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0255 - acc: 0.9914 - val_loss: 0.0996 - val_acc: 0.9878\n",
      "Epoch 4988/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0096 - acc: 0.9985 - val_loss: 0.0873 - val_acc: 0.9899\n",
      "Epoch 4989/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0107 - acc: 0.9975 - val_loss: 0.1098 - val_acc: 0.9838\n",
      "Epoch 4990/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0151 - acc: 0.9954 - val_loss: 0.0895 - val_acc: 0.9899\n",
      "Epoch 4991/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0291 - acc: 0.9898 - val_loss: 0.1003 - val_acc: 0.9817\n",
      "Epoch 4992/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0526 - acc: 0.9822 - val_loss: 0.1351 - val_acc: 0.9736\n",
      "Epoch 4993/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0436 - acc: 0.9832 - val_loss: 0.0911 - val_acc: 0.9899\n",
      "Epoch 4994/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0108 - acc: 0.9980 - val_loss: 0.0953 - val_acc: 0.9878\n",
      "Epoch 4995/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0142 - acc: 0.9959 - val_loss: 0.0852 - val_acc: 0.9899\n",
      "Epoch 4996/5000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1969/1969 [==============================] - 0s - loss: 0.0085 - acc: 0.9975 - val_loss: 0.0882 - val_acc: 0.9878\n",
      "Epoch 4997/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0272 - acc: 0.9893 - val_loss: 0.1796 - val_acc: 0.9574\n",
      "Epoch 4998/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0244 - acc: 0.9929 - val_loss: 0.0827 - val_acc: 0.9919\n",
      "Epoch 4999/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0079 - acc: 0.9990 - val_loss: 0.0819 - val_acc: 0.9919\n",
      "Epoch 5000/5000\n",
      "1969/1969 [==============================] - 0s - loss: 0.0088 - acc: 0.9985 - val_loss: 0.0822 - val_acc: 0.9919\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "<keras.callbacks.History at 0x10b06b5d0>"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "model = ks.models.Sequential()\n",
    "model.add(Dense(128, input_dim=data_features.shape[1]))\n",
    "model.add(Activation('relu'))\n",
    "model.add(Dense(64))\n",
    "model.add(Activation('relu'))\n",
    "model.add(Dense(32))\n",
    "model.add(Activation('relu'))\n",
    "model.add(Dense(16))\n",
    "model.add(Activation('relu'))\n",
    "model.add(Dense(4))\n",
    "model.add(Activation('softmax'))\n",
    "history = LossHistory()\n",
    "\n",
    "model.compile(loss='categorical_crossentropy',optimizer='adadelta',metrics=['accuracy'])\n",
    "model.fit(x=data_train,y=labels_train,batch_size=128,nb_epoch=5000,verbose=1,validation_data=(data_test,labels_test),callbacks=[history])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "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\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x1c2997d910>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "history.loss_plot('epoch')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def predict(model,data):\n",
    "    tmp_res = model.predict(data)\n",
    "    res = []\n",
    "    for item in tmp_res:\n",
    "        res.append(np.where(item == max(item))[0][0])\n",
    "    return np.array(res)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "train acc: 0.999492127984\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       1.00      1.00      1.00       984\n",
      "        cpu       1.00      1.00      1.00       299\n",
      "        mem       1.00      1.00      1.00       212\n",
      "         io       1.00      1.00      1.00       474\n",
      "\n",
      "avg / total       1.00      1.00      1.00      1969\n",
      "\n",
      "test acc: 0.991886409736\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       1.00      1.00      1.00       247\n",
      "        cpu       0.97      1.00      0.99        74\n",
      "        mem       1.00      0.96      0.98        54\n",
      "         io       0.98      0.98      0.98       118\n",
      "\n",
      "avg / total       0.99      0.99      0.99       493\n",
      "\n"
     ]
    }
   ],
   "source": [
    "y_true = class_train\n",
    "y_pred = predict(model,data_train)\n",
    "target_names = ['normal', 'cpu', 'mem', 'io']\n",
    "print(\"train acc: {}\".format(sum(y_true == y_pred)/float(len(y_true))))\n",
    "print(classification_report(y_true, y_pred, target_names=target_names))\n",
    "\n",
    "# print(\"test: {}\".format(clf.score(mid_features_test, class_test)))\n",
    "y_true = class_test\n",
    "y_pred = predict(model,data_test)\n",
    "print(\"test acc: {}\".format(sum(y_true == y_pred)/float(len(y_true))))\n",
    "print(classification_report(y_true, y_pred, target_names=target_names))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 神经网络 + SVM\n",
    "45 => 128 => 64 => 32 => 16 => SVM"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "train acc: 0.982732351447\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       1.00      1.00      1.00       984\n",
      "        cpu       0.95      0.94      0.95       299\n",
      "        mem       0.95      0.99      0.97       212\n",
      "         io       0.98      0.97      0.97       474\n",
      "\n",
      "avg / total       0.98      0.98      0.98      1969\n",
      "\n",
      "test acc: 0.975659229209\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       1.00      1.00      1.00       247\n",
      "        cpu       0.96      0.92      0.94        74\n",
      "        mem       0.93      0.94      0.94        54\n",
      "         io       0.96      0.97      0.97       118\n",
      "\n",
      "avg / total       0.98      0.98      0.98       493\n",
      "\n"
     ]
    }
   ],
   "source": [
    "get_feature = K.function([model.layers[0].input],[model.layers[4].output])\n",
    "mid_features_train = get_feature([data_train])[0]\n",
    "mid_features_test  = get_feature([data_test])[0]\n",
    "clf = svm.SVC()\n",
    "clf.fit(mid_features_train, class_train)\n",
    "\n",
    "print(\"train acc: {}\".format(clf.score(mid_features_train, class_train)))\n",
    "y_true = class_train\n",
    "y_pred = clf.predict(mid_features_train)\n",
    "target_names = ['normal', 'cpu', 'mem', 'io']\n",
    "print(classification_report(y_true, y_pred, target_names=target_names))\n",
    "\n",
    "print(\"test acc: {}\".format(clf.score(mid_features_test, class_test)))\n",
    "y_true = class_test\n",
    "y_pred = clf.predict(mid_features_test)\n",
    "print(classification_report(y_true, y_pred, target_names=target_names))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 其他机器学习算法\n",
    "- KNN\n",
    "- 线性SVM\n",
    "- 基于核函数的SVM (RBF SVM), Radial basis function kernel\n",
    "- 决策树\n",
    "- 随机森林"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Nearest Neighbors\n",
      "train acc: 0.973590655155\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       1.00      1.00      1.00       984\n",
      "        cpu       0.89      0.97      0.93       299\n",
      "        mem       0.95      0.90      0.92       212\n",
      "         io       0.98      0.96      0.97       474\n",
      "\n",
      "avg / total       0.97      0.97      0.97      1969\n",
      "\n",
      "test acc: 0.95537525355\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       1.00      1.00      1.00       247\n",
      "        cpu       0.84      0.93      0.88        74\n",
      "        mem       0.94      0.83      0.88        54\n",
      "         io       0.95      0.93      0.94       118\n",
      "\n",
      "avg / total       0.96      0.96      0.96       493\n",
      "\n",
      "\n",
      "\n",
      "Linear SVM\n",
      "train acc: 0.857287963433\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       1.00      1.00      1.00       984\n",
      "        cpu       1.00      0.45      0.63       299\n",
      "        mem       1.00      0.44      0.61       212\n",
      "         io       0.63      1.00      0.77       474\n",
      "\n",
      "avg / total       0.91      0.86      0.85      1969\n",
      "\n",
      "test acc: 0.855983772819\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       1.00      1.00      1.00       247\n",
      "        cpu       1.00      0.45      0.62        74\n",
      "        mem       1.00      0.44      0.62        54\n",
      "         io       0.62      1.00      0.77       118\n",
      "\n",
      "avg / total       0.91      0.86      0.85       493\n",
      "\n",
      "\n",
      "\n",
      "RBF SVM\n",
      "train acc: 0.858303707466\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       1.00      1.00      1.00       984\n",
      "        cpu       0.99      0.46      0.63       299\n",
      "        mem       1.00      0.44      0.61       212\n",
      "         io       0.63      1.00      0.77       474\n",
      "\n",
      "avg / total       0.91      0.86      0.85      1969\n",
      "\n",
      "test acc: 0.860040567951\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       1.00      1.00      1.00       247\n",
      "        cpu       1.00      0.47      0.64        74\n",
      "        mem       1.00      0.44      0.62        54\n",
      "         io       0.63      1.00      0.77       118\n",
      "\n",
      "avg / total       0.91      0.86      0.85       493\n",
      "\n",
      "\n",
      "\n",
      "Decision Tree\n",
      "train acc: 0.861350939563\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       1.00      1.00      1.00       984\n",
      "        cpu       1.00      0.80      0.89       299\n",
      "        mem       0.00      0.00      0.00       212\n",
      "         io       0.63      1.00      0.78       474\n",
      "\n",
      "avg / total       0.80      0.86      0.82      1969\n",
      "\n",
      "test acc: 0.860040567951\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       1.00      1.00      1.00       247\n",
      "        cpu       1.00      0.80      0.89        74\n",
      "        mem       0.00      0.00      0.00        54\n",
      "         io       0.63      1.00      0.77       118\n",
      "\n",
      "avg / total       0.80      0.86      0.82       493\n",
      "\n",
      "\n",
      "\n",
      "Random Forest\n",
      "train acc: 0.948704926359\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       0.95      0.97      0.96       984\n",
      "        cpu       0.95      0.93      0.94       299\n",
      "        mem       0.97      0.84      0.90       212\n",
      "         io       0.94      0.97      0.96       474\n",
      "\n",
      "avg / total       0.95      0.95      0.95      1969\n",
      "\n",
      "test acc: 0.939148073022\n",
      "             precision    recall  f1-score   support\n",
      "\n",
      "     normal       0.93      0.97      0.95       247\n",
      "        cpu       0.94      0.91      0.92        74\n",
      "        mem       0.96      0.83      0.89        54\n",
      "         io       0.94      0.94      0.94       118\n",
      "\n",
      "avg / total       0.94      0.94      0.94       493\n",
      "\n",
      "\n",
      "\n"
     ]
    }
   ],
   "source": [
    "classifiers = [\n",
    "    KNeighborsClassifier(4),\n",
    "    svm.SVC(kernel=\"linear\", C=0.025),\n",
    "    svm.SVC(),\n",
    "    DecisionTreeClassifier(max_depth=3),\n",
    "    RandomForestClassifier(max_depth=5, n_estimators=10, max_features=1)\n",
    "    ]\n",
    "names = [\"Nearest Neighbors\", \"Linear SVM\", \"RBF SVM\", \"Decision Tree\",\n",
    "         \"Random Forest\"]\n",
    "for name, clf in zip(names,classifiers):\n",
    "    clf.fit(data_train,class_train)\n",
    "    print(name)\n",
    "    print(\"train acc: {}\".format(clf.score(data_train, class_train)))\n",
    "    y_true = class_train\n",
    "    y_pred = clf.predict(data_train)\n",
    "    target_names = ['normal', 'cpu', 'mem', 'io']\n",
    "    print(classification_report(y_true, y_pred, target_names=target_names))\n",
    "    \n",
    "    print(\"test acc: {}\".format(clf.score(data_test, class_test)))\n",
    "    y_true = class_test\n",
    "    y_pred = clf.predict(data_test)\n",
    "    print(classification_report(y_true, y_pred, target_names=target_names))\n",
    "    print '\\n'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
